1 # Description: Miscellaneous system utilities
2 # URL: https://www.kernel.org/pub/linux/utils/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 ncurses zlib
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 touch disk-utils/raw.8
16 ./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 cp -r $SRC/man $PKG/usr/share
29 rm -r $PKG/usr/share/{doc,bash-completion}
31 rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}