blob: 1054090ce310ff03dc504e88c6be46f367a2c87c (
plain)
1 # Description: Miscellaneous system utilities
2 # URL: http://userweb.kernel.org/~kzak/util-linux/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: eudev-32 readline-32 zlib-32
5
6 name=util-linux-32
7 version=2.29
8 release=1
9 source=(https://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$version.tar.xz)
10
11 build() {
12 cd util-linux-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/usr/lib32 \
17 --disable-nls \
18 --disable-{login,su,sulogin,nologin,runuser} \
19 --disable-chfn-chsh \
20 --enable-{write,raw,kill} \
21 --without-python
22
23 make
24 make DESTDIR=$PKG install
25
26 rm -r \
27 $PKG/{bin,sbin} \
28 $PKG/usr/{bin,sbin,share/man,include} \
29 $PKG//usr/share/{bash-completion,doc}
30
31 rmdir $PKG/usr/share
32 }
|