2006-02-23 15:26:10 +00:00
|
|
|
# Description: A collection of core GNU utilities
|
|
|
|
# URL: http://www.gnu.org/software/coreutils/
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2010-06-03 10:24:42 +00:00
|
|
|
# Depends on: libgmp acl libcap
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=coreutils
|
2017-03-13 11:30:32 +01:00
|
|
|
version=8.27
|
2016-01-21 12:23:08 +01:00
|
|
|
release=1
|
2017-03-02 14:25:08 +01:00
|
|
|
source=(http://ftpmirror.gnu.org/pub/gnu/$name/$name-$version.tar.xz
|
2008-01-25 11:23:56 +01:00
|
|
|
coreutils-uname.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2008-01-23 11:33:42 +01:00
|
|
|
|
2008-01-25 11:23:56 +01:00
|
|
|
patch -p1 -i $SRC/coreutils-uname.patch
|
2012-04-02 14:47:37 +02:00
|
|
|
export FORCE_UNSAFE_CONFIGURE=1
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
2011-09-11 09:48:34 +02:00
|
|
|
--libexecdir=/usr/lib \
|
2006-11-23 08:05:47 +01:00
|
|
|
--disable-nls \
|
2008-01-23 11:33:42 +01:00
|
|
|
--disable-assert \
|
2008-09-16 20:33:09 +02:00
|
|
|
--enable-no-install-program=uptime,kill,chcon,runcon,groups
|
2014-11-02 13:22:16 +01:00
|
|
|
make
|
2006-02-23 15:26:10 +00:00
|
|
|
make DESTDIR=$PKG install
|
2008-01-23 11:33:42 +01:00
|
|
|
|
2015-07-26 18:45:08 +02:00
|
|
|
install -d $PKG/bin
|
2007-02-20 21:13:12 +01:00
|
|
|
mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin
|
2006-02-23 15:26:10 +00:00
|
|
|
mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin
|
2015-07-25 19:23:09 +02:00
|
|
|
rm -r $PKG/usr/share/info
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|