summaryrefslogtreecommitdiff
path: root/package/socat/socat.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
commit6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90 (patch)
tree4ceda86e35164f60eb7bf90bacb7d19e2adcd04a /package/socat/socat.mk
parentb9cc4a53a52b8318e10615e8ceef60efab85fae0 (diff)
- add and use BR2_BZCAT config option.
Diffstat (limited to 'package/socat/socat.mk')
-rw-r--r--package/socat/socat.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/socat/socat.mk b/package/socat/socat.mk
index cbb3dfd42..77e68c84f 100644
--- a/package/socat/socat.mk
+++ b/package/socat/socat.mk
@@ -10,6 +10,7 @@ SOCAT_VERSION=1.4.0.3
# what you are doing! Danger, Danger!
SOCAT_SOURCE=socat-$(SOCAT_VERSION).tar.bz2
+SOCAT_CAT:=$(BZCAT)
SOCAT_SITE=http://www.dest-unreach.org/socat/download/
#SOCAT_DIR=$(BUILD_DIR)/${shell basename $(SOCAT_SOURCE) .tar.bz2}
SOCAT_DIR=$(BUILD_DIR)/socat-1.4
@@ -20,7 +21,7 @@ $(DL_DIR)/$(SOCAT_SOURCE):
$(WGET) -P $(DL_DIR) $(SOCAT_SITE)/$(SOCAT_SOURCE)
$(SOCAT_DIR)/.unpacked: $(DL_DIR)/$(SOCAT_SOURCE)
- bzip2 -d -c $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(SOCAT_CAT) $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(SOCAT_DIR)/.unpacked
$(SOCAT_WORKDIR)/Makefile: $(SOCAT_DIR)/.unpacked