diff options
Diffstat (limited to 'util-linux-ng/Pkgfile')
-rw-r--r-- | util-linux-ng/Pkgfile | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/util-linux-ng/Pkgfile b/util-linux-ng/Pkgfile index 3f63eb5..7440f0a 100644 --- a/util-linux-ng/Pkgfile +++ b/util-linux-ng/Pkgfile @@ -1,22 +1,27 @@ -description="Miscellaneous system utilities" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Miscellaneous system utilities." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" 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/util-linux-ng/v2.18/util-linux-ng-2.18.tar.bz2) +source=(http://ftp.kernel.org/pub/linux/utils/$name/v$version/$name-$version.tar.bz2) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man --disable-{nls,wall} --enable-{write,raw,kill}; - make; - make DESTDIR=$PKG install; - install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}; - touch $PKG/etc/adjtime; - rm -r $PKG/usr/share; - rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}; - rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8 + cd $name-$version; + ./configure \ + --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 } |