aboutsummaryrefslogtreecommitdiffstats
path: root/package/grep
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-11 14:06:06 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-11 14:06:06 +0000
commite1621a4a2a6b1750402d0228cf85920814babc9a (patch)
tree427f7759087d6775d41f68513dbb417485d0ee45 /package/grep
parentcd599b61144a0f273d2712ffee64ea8e4af2cdbd (diff)
downloadbuildroot-novena-e1621a4a2a6b1750402d0228cf85920814babc9a.tar.gz
buildroot-novena-e1621a4a2a6b1750402d0228cf85920814babc9a.zip
Use <package>_VERSION in all <package>.mk instead of <package>_VER
Diffstat (limited to 'package/grep')
-rw-r--r--package/grep/grep.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/grep/grep.mk b/package/grep/grep.mk
index 5a1b7d651..5cd4b3fea 100644
--- a/package/grep/grep.mk
+++ b/package/grep/grep.mk
@@ -3,9 +3,10 @@
# grep
#
#############################################################
-GNUGREP_SOURCE:=grep_2.5.1.ds1.orig.tar.gz
+GNUGREP_VERSION:=2.5.1
+GNUGREP_SOURCE:=grep_$(GNUGREP_VERSION).ds1.orig.tar.gz
GNUGREP_SITE:=http://ftp.debian.org/debian/pool/main/g/grep/
-GNUGREP_DIR:=$(BUILD_DIR)/grep-2.5.1
+GNUGREP_DIR:=$(BUILD_DIR)/grep-$(GNUGREP_VERSION)
GNUGREP_CAT:=$(ZCAT)
GNUGREP_BINARY:=src/grep
GNUGREP_TARGET_BINARY:=bin/grep
@@ -19,7 +20,7 @@ $(GNUGREP_DIR)/.unpacked: $(DL_DIR)/$(GNUGREP_SOURCE)
rm -rf $(GNUGREP_DIR).xxx
$(GNUGREP_CAT) $(DL_DIR)/$(GNUGREP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
mv $(GNUGREP_DIR) $(GNUGREP_DIR).xxx
- $(GNUGREP_CAT) $(GNUGREP_DIR).xxx/grep_2.5.1.tar.gz | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(GNUGREP_CAT) $(GNUGREP_DIR).xxx/grep_$(GNUGREP_VERSION).tar.gz | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
rm -rf $(GNUGREP_DIR).xxx
touch $(GNUGREP_DIR)/.unpacked