summaryrefslogtreecommitdiff
path: root/package/microperl/microperl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/microperl/microperl.mk')
-rw-r--r--package/microperl/microperl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/microperl/microperl.mk b/package/microperl/microperl.mk
index 72836279b..c663a79c6 100644
--- a/package/microperl/microperl.mk
+++ b/package/microperl/microperl.mk
@@ -5,6 +5,7 @@
#############################################################
MICROPERL_VER=5.8.7
MICROPERL_SOURCE=perl-$(MICROPERL_VER).tar.bz2
+MICROPERL_CAT:=$(BZCAT)
MICROPERL_SITE=ftp://ftp.cpan.org/pub/CPAN/src/5.0
MICROPERL_DIR=$(BUILD_DIR)/perl-$(MICROPERL_VER)
@@ -12,7 +13,7 @@ $(DL_DIR)/$(MICROPERL_SOURCE):
$(WGET) -P $(DL_DIR) $(MICROPERL_SITE)/$(MICROPERL_SOURCE)
$(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
- bzcat $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(MICROPERL_CAT) $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(MICROPERL_DIR)/.source
$(MICROPERL_DIR)/microperl: $(MICROPERL_DIR)/.source