summaryrefslogtreecommitdiff
path: root/coreutils/Pkgfile
blob: 812a2381f7061ffb623f921266640c682a85dd00 (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.32
    8 release=1
    9 source=(http://ftpmirror.gnu.org/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                 --disable-nls \
   21                 --disable-assert \
   22                 --enable-no-install-program=uptime,kill,chcon,runcon,groups
   23     make
   24     make DESTDIR=$PKG install 
   25 
   26     install -d $PKG/bin
   27     mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin
   28     mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin
   29     rm -r $PKG/usr/share/info
   30 }

Generated by cgit