aboutsummaryrefslogtreecommitdiff
path: root/package/mpg123/mpg123.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mpg123/mpg123.mk')
-rw-r--r--package/mpg123/mpg123.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk
index c03125b39b..a0cbf2dc7d 100644
--- a/package/mpg123/mpg123.mk
+++ b/package/mpg123/mpg123.mk
@@ -10,6 +10,7 @@ MPG123_VERSION=0.59r
# what you are doing! Danger, Danger!
MPG123_SOURCE=mpg123-$(MPG123_VERSION).tar.gz
+MPG123_CAT:=$(ZCAT)
MPG123_SITE=http://www.mpg123.de/mpg123
MPG123_DIR=$(BUILD_DIR)/${shell basename $(MPG123_SOURCE) .tar.gz}
MPG123_WORKDIR=$(BUILD_DIR)/mpg123-$(MPG123_VERSION)
@@ -18,7 +19,7 @@ $(DL_DIR)/$(MPG123_SOURCE):
$(WGET) -P $(DL_DIR) $(MPG123_SITE)/$(MPG123_SOURCE)
$(MPG123_DIR)/.unpacked: $(DL_DIR)/$(MPG123_SOURCE)
- gzip -d -c $(DL_DIR)/$(MPG123_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(MPG123_CAT) $(DL_DIR)/$(MPG123_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(MPG123_DIR)/.unpacked
$(MPG123_WORKDIR)/mpg123: $(MPG123_DIR)/.unpacked