From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/util/grep.xibuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'repo/util/grep.xibuild') diff --git a/repo/util/grep.xibuild b/repo/util/grep.xibuild index aab9964..ad7b9d4 100644 --- a/repo/util/grep.xibuild +++ b/repo/util/grep.xibuild @@ -2,12 +2,19 @@ DEPS=(glibc pcre) -SOURCE=https://ftp.gnu.org/gnu/grep/grep-3.7.tar.xz +PKG_VER=3.7 +SOURCE=https://ftp.gnu.org/gnu/grep/grep-$PKG_VER.tar.xz DESC="A string search utility" build () { ./configure --prefix=/usr --bindir=/bin make +} + +check () { make check +} + +package () { make DESTDIR=$PKG_DEST install } -- cgit v1.2.1