summaryrefslogtreecommitdiff
path: root/repo/core/util-linux.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/core/util-linux.xibuild')
-rw-r--r--repo/core/util-linux.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/core/util-linux.xibuild b/repo/core/util-linux.xibuild
new file mode 100644
index 0000000..2bc2543
--- /dev/null
+++ b/repo/core/util-linux.xibuild
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+DEPS=(shadow coreutils libcap libxcrypt readline)
+
+SOURCE=https://github.com/karelzak/util-linux
+BRANCH=stable/v2.20
+DESC="System Utilities for Linux"
+
+build () {
+ ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
+ --libdir=/usr/lib \
+ --docdir=/usr/share/doc/util-linux-2.37.2 \
+ --disable-chfn-chsh \
+ --disable-login \
+ --disable-nologin \
+ --disable-su \
+ --disable-setpriv \
+ --disable-runuser \
+ --disable-pylibmount \
+ --disable-static \
+ --without-python \
+ --without-systemd \
+ --without-systemdsystemunitdir \
+ runstatedir=/run
+ make
+ make DESTDIR=$PKG_DEST install
+}