summaryrefslogtreecommitdiff
path: root/util-linux/Pkgfile
blob: af3f928681dd77e48c7443493b7adeb01794de56 (plain)
    1 # Description: Miscellaneous system utilities
    2 # URL:         http://userweb.kernel.org/~kzak/util-linux-ng/
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 # Depends on:  ncurses zlib
    5 
    6 name=util-linux
    7 version=2.23.2
    8 release=1
    9 source=(https://www.kernel.org/pub/linux/utils/$name/v2.23/$name-$version.tar.xz)
   10 
   11 build() {
   12     cd $name-$version
   13 
   14     ./configure --prefix=/usr \
   15                 --mandir=/usr/man \
   16                 --disable-{nls,wall} \
   17                 --disable-{login,su,sulogin} \
   18                 --enable-{write,raw,kill}
   19     make
   20     make DESTDIR=$PKG install
   21 
   22     install -d $PKG/{etc,var/{lib/libuuid,run/uuidd}}
   23     touch $PKG/etc/adjtime
   24 
   25     rm -r $PKG/usr/share
   26     rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
   27     rm $PKG/usr/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
   28 }

Generated by cgit