1 # Description: Miscellaneous system utilities
2 # URL: http://userweb.kernel.org/~kzak/util-linux/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: eudev file readline bzip2 xz
10 source=(https://www.kernel.org/pub/linux/utils/$name/v${version:0:4}/$name-$version.tar.xz
11 $name-man-$version.tar.xz)
15 ./configure --prefix=/usr \
18 --disable-{login,su,sulogin,nologin,runuser} \
20 --enable-{write,raw,kill} \
24 make DESTDIR=$PKG install
26 install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
27 touch $PKG/etc/adjtime
28 cp -r $SRC/man $PKG/usr/share
30 rm -r $PKG/usr/share/{doc,bash-completion}
31 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
32 rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8