From: Eric Andersen Date: Wed, 28 Jan 2004 23:11:00 +0000 (-0000) Subject: Fixup grep build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=563a74609b5fa07b6649fdd3d515b74357152729;p=buildroot.git Fixup grep build --- diff --git a/make/grep.mk b/make/grep.mk index 266831f117..cc7856c087 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