summaryrefslogtreecommitdiff
path: root/repo/util/grep.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/grep.xibuild')
-rw-r--r--repo/util/grep.xibuild9
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
}