aboutsummaryrefslogtreecommitdiff
path: root/package/mpg123/mpg123.mk
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
commit6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90 (patch)
tree4ceda86e35164f60eb7bf90bacb7d19e2adcd04a /package/mpg123/mpg123.mk
parentb9cc4a53a52b8318e10615e8ceef60efab85fae0 (diff)
downloadbuildroot-6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90.tar.gz
buildroot-6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90.tar.bz2
- add and use BR2_BZCAT config option.
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