mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
Fixup grep build
This commit is contained in:
parent
a3f9025ded
commit
563a74609b
@ -3,7 +3,7 @@
|
|||||||
# grep
|
# 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_SITE:=http://ftp.debian.org/debian/pool/main/g/grep/
|
||||||
GNUGREP_DIR:=$(BUILD_DIR)/grep-2.5.1
|
GNUGREP_DIR:=$(BUILD_DIR)/grep-2.5.1
|
||||||
GNUGREP_CAT:=zcat
|
GNUGREP_CAT:=zcat
|
||||||
@ -16,7 +16,11 @@ $(DL_DIR)/$(GNUGREP_SOURCE):
|
|||||||
grep-source: $(DL_DIR)/$(GNUGREP_SOURCE)
|
grep-source: $(DL_DIR)/$(GNUGREP_SOURCE)
|
||||||
|
|
||||||
$(GNUGREP_DIR)/.unpacked: $(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 -
|
$(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
|
touch $(GNUGREP_DIR)/.unpacked
|
||||||
|
|
||||||
$(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked
|
$(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user