# Description: Miscellaneous system utilities # URL: https://userweb.kernel.org/~kzak/util-linux/ # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu # Depends on: eudev-32 readline-32 zlib-32 name=util-linux-32 version=2.32 release=1 source=(https://www.kernel.org/pub/linux/utils/${name%-*}/v${version:0:4}/${name%-*}-$version.tar.xz) build() { cd ${name%-*}-$version ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --disable-nls \ --disable-{login,su,sulogin,nologin,runuser} \ --disable-chfn-chsh \ --enable-{write,raw,kill} \ --without-python make make DESTDIR=$PKG install rm -r \ $PKG/{bin,sbin} \ $PKG/usr/{bin,sbin,share/man,include} \ $PKG//usr/share/{bash-completion,doc} rmdir $PKG/usr/share }