summaryrefslogtreecommitdiff
path: root/repo/core/util-linux.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 23:29:58 +0100
commit7ff38024bec68fe70fb6eec0f5cd16188507558f (patch)
treed9f366b28b7d31ddbe3057669474f58962541a68 /repo/core/util-linux.xibuild
parent76a1447eb1599f23165806b4ead10c5294039d05 (diff)
added all lfs packages
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
+}