diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-01-28 23:11:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-01-28 23:11:00 +0000 |
commit | 563a74609b5fa07b6649fdd3d515b74357152729 (patch) | |
tree | 962b6cea09c50d9f13501bee2168399b93528bc8 /make/grep.mk | |
parent | a3f9025ded08968b5072f8e0b0bb889686bd68b9 (diff) |
Fixup grep build
Diffstat (limited to 'make/grep.mk')
-rw-r--r-- | make/grep.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/make/grep.mk b/make/grep.mk index 266831f11..cc7856c08 100644 --- a/make/grep.mk +++ b/make/grep.mk @@ -3,7 +3,7 @@ # grep # ############################################################# -GNUGREP_SOURCE:=grep_2.5.1.orig.tar.gz +GNUGREP_SOURCE:=grep_2.5.1.ds1.orig.tar.gz GNUGREP_SITE:=http://ftp.debian.org/debian/pool/main/g/grep/ GNUGREP_DIR:=$(BUILD_DIR)/grep-2.5.1 GNUGREP_CAT:=zcat @@ -16,7 +16,11 @@ $(DL_DIR)/$(GNUGREP_SOURCE): grep-source: $(DL_DIR)/$(GNUGREP_SOURCE) $(GNUGREP_DIR)/.unpacked: $(DL_DIR)/$(GNUGREP_SOURCE) + rm -rf $(GNUGREP_DIR).xxx $(GNUGREP_CAT) $(DL_DIR)/$(GNUGREP_SOURCE) | tar -C $(BUILD_DIR) -xvf - + mv $(GNUGREP_DIR) $(GNUGREP_DIR).xxx + $(GNUGREP_CAT) $(GNUGREP_DIR).xxx/grep_2.5.1.tar.gz | tar -C $(BUILD_DIR) -xvf - + rm -rf $(GNUGREP_DIR).xxx touch $(GNUGREP_DIR)/.unpacked $(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked |