blob: 040bfdb2a66e0783e49f5ab626fb573b85f00f75 (
plain)
1 # Description: Miscellaneous system utilities
2 # URL: https://github.com/karelzak/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.38.1
8 release=1
9 source=(https://www.kernel.org/pub/linux/utils/${name%-*}/v${version:0:4}/${name%-*}-$version.tar.xz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/usr/lib32 \
17 --disable-nls \
18 --disable-asciidoc \
19 --disable-{login,su,sulogin,nologin,runuser,raw} \
20 --disable-chfn-chsh \
21 --enable-{write,kill} \
22 --without-python
23
24 make
25 make DESTDIR=$PKG install
26
27 rm -r \
28 $PKG/{bin,sbin} \
29 $PKG/usr/{bin,sbin,include} \
30 $PKG//usr/share/{bash-completion,doc}
31
32 rm -rf $PKG/usr/share/man
33 rmdir $PKG/usr/share
34 }
|