summaryrefslogtreecommitdiff
path: root/repo/util/util-linux.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/util-linux.xibuild')
-rw-r--r--repo/util/util-linux.xibuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/util/util-linux.xibuild b/repo/util/util-linux.xibuild
index aeb7edf..46228c1 100644
--- a/repo/util/util-linux.xibuild
+++ b/repo/util/util-linux.xibuild
@@ -2,15 +2,19 @@
DEPS=(shadow coreutils libcap libxcrypt readline)
-SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.2.tar.xz
+PKG_VER=2.37
+SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v$PKG_VER/util-linux-$PKG_VER.tar.xz
DESC="System Utilities for Linux"
build () {
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--libdir=/usr/lib \
- --docdir=/usr/share/doc/util-linux-2.20 \
+ --docdir=/usr/share/doc/util-linux-$PKG_VER\
--disable-static \
runstatedir=/run
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}