summaryrefslogtreecommitdiffstats
path: root/package/ltrace/ltrace.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-04-14 08:00:27 +0000
committerEric Andersen <andersen@codepoet.org>2005-04-14 08:00:27 +0000
commit5c0d1939248f2d3a2f1fa966340acdd2635160a5 (patch)
tree2a47d828ce19c47dc1157ac3be10742bff793e82 /package/ltrace/ltrace.mk
parent483fa88f3e9f8f5b20ac7085f9626123f5c1d3a4 (diff)
downloadbuildroot-novena-5c0d1939248f2d3a2f1fa966340acdd2635160a5.tar.gz
buildroot-novena-5c0d1939248f2d3a2f1fa966340acdd2635160a5.zip
Minor ltrace updates
Diffstat (limited to 'package/ltrace/ltrace.mk')
-rw-r--r--package/ltrace/ltrace.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index 31db73ba6..0c7b5421b 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -4,6 +4,7 @@
#
#############################################################
LTRACE_SOURCE=ltrace_0.3.36.orig.tar.gz
+LTRACE_SOURCE2=ltrace_0.3.36-2.diff.gz
LTRACE_SITE=http://ftp.debian.org/debian/pool/main/l/ltrace
LTRACE_DIR=$(BUILD_DIR)/ltrace-0.3.36
LTRACE_BINARY=ltrace
@@ -17,8 +18,12 @@ endif
$(DL_DIR)/$(LTRACE_SOURCE):
$(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_SOURCE)
-$(LTRACE_DIR)/.source: $(DL_DIR)/$(LTRACE_SOURCE)
+$(DL_DIR)/$(LTRACE_SOURCE2):
+ $(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_SOURCE2)
+
+$(LTRACE_DIR)/.source: $(DL_DIR)/$(LTRACE_SOURCE) $(DL_DIR)/$(LTRACE_SOURCE2)
zcat $(DL_DIR)/$(LTRACE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ zcat $(DL_DIR)/$(LTRACE_SOURCE2) | patch -p1 -d $(LTRACE_DIR)
touch $(LTRACE_DIR)/.source
$(LTRACE_DIR)/.configured: $(LTRACE_DIR)/.source
@@ -42,7 +47,7 @@ $(TARGET_DIR)/$(LTRACE_TARGET_BINARY): $(LTRACE_DIR)/$(LTRACE_BINARY)
-C $(LTRACE_DIR) install
rm -Rf $(TARGET_DIR)/usr/man
-ltrace: uclibc $(TARGET_DIR)/$(LTRACE_TARGET_BINARY)
+ltrace: uclibc libelf $(TARGET_DIR)/$(LTRACE_TARGET_BINARY)
ltrace-source: $(DL_DIR)/$(LTRACE_SOURCE)