diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/util/grep.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/grep.xibuild')
-rw-r--r-- | repo/util/grep.xibuild | 9 |
1 files changed, 8 insertions, 1 deletions
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 } |