summaryrefslogtreecommitdiff
path: root/repo/util/which.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/which.xibuild')
-rw-r--r--repo/util/which.xibuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/repo/util/which.xibuild b/repo/util/which.xibuild
index 5f682dc..8a70016 100644
--- a/repo/util/which.xibuild
+++ b/repo/util/which.xibuild
@@ -2,12 +2,17 @@
DEPS=(glibc bash)
-SOURCE=http://ftp.gnu.org/gnu/which/which-2.21.tar.gz
+PKG_VER=2.21
+
+SOURCE=http://ftp.gnu.org/gnu/which/which-$PKG_VER.tar.gz
DESC="A utility to show the full path of commands"
build () {
CC=gcc ./configure --prefix=/usr
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}