description="Miscellaneous system utilities." packager="CRUX System Team " maintainer="Lukc " url="http://userweb.kernel.org/~kzak/util-linux-ng/" depends=(ncurses zlib) name=util-linux-ng version=2.18 release=2 source=(http://ftp.kernel.org/pub/linux/utils/$name/v$version/$name-$version.tar.bz2) build () { cd $name-$version; ./configure \ ${CHOST:+--build=${CHOST}} \ ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ --mandir=$mandir \ $(use_enable nls) \ --disable-wall \ --enable-{write,raw,kill}; make; make DESTDIR=$PKG install; install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}; touch $PKG/etc/adjtime; # Hey ! We have a Minix user in the team. We don’t want to hurt him. :) #rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}; #rm $PKG$mandir/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8 }