33 lines
766 B
Plaintext
Raw Normal View History

# Description: Miscellaneous system utilities
2017-03-02 22:24:57 +11:00
# URL: https://userweb.kernel.org/~kzak/util-linux/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2016-11-13 12:58:34 +11:00
# Depends on: eudev-32 readline-32 zlib-32
name=util-linux-32
2019-04-11 08:50:45 +10:00
version=2.33.2
2016-05-10 19:52:09 +10:00
release=1
2017-03-02 22:24:57 +11:00
source=(https://www.kernel.org/pub/linux/utils/${name%-*}/v${version:0:4}/${name%-*}-$version.tar.xz)
build() {
2017-03-02 22:24:57 +11:00
cd ${name%-*}-$version
./configure \
2014-08-20 23:50:06 +10:00
--prefix=/usr \
--libdir=/usr/lib32 \
--disable-nls \
--disable-{login,su,sulogin,nologin,runuser} \
--disable-chfn-chsh \
2014-08-20 23:50:06 +10:00
--enable-{write,raw,kill} \
--without-python
2014-08-20 23:50:06 +10:00
make
make DESTDIR=$PKG install
2014-08-20 23:50:06 +10:00
rm -r \
$PKG/{bin,sbin} \
2016-09-04 18:01:54 +10:00
$PKG/usr/{bin,sbin,share/man,include} \
2014-08-20 23:50:06 +10:00
$PKG//usr/share/{bash-completion,doc}
rmdir $PKG/usr/share
}