summaryrefslogtreecommitdiff
path: root/coreutils/Pkgfile
blob: 270a38f9752c57b145df19dccd74409b52d3f370 (plain)
    1 # Description: A collection of core GNU utilities
    2 # URL:         http://www.gnu.org/software/coreutils/
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 # Depends on:  libgmp acl libcap
    5 
    6 name=coreutils
    7 version=8.24
    8 release=1
    9 source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz
   10         coreutils-uname.patch)
   11 
   12 build() {
   13     cd $name-$version
   14 
   15     patch -p1 -i $SRC/coreutils-uname.patch
   16     export FORCE_UNSAFE_CONFIGURE=1
   17     
   18     ./configure --prefix=/usr \
   19                 --libexecdir=/usr/lib \
   20                 --mandir=/usr/man \
   21                 --disable-nls \
   22                 --disable-assert \
   23                 --enable-no-install-program=uptime,kill,chcon,runcon,groups
   24     make
   25     make DESTDIR=$PKG install 
   26 
   27     mkdir $PKG/bin
   28     mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin
   29     mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin
   30     rm -r $PKG/usr/share
   31 }

Generated by cgit