summaryrefslogtreecommitdiffstats
path: root/coreutils/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /coreutils/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'coreutils/Pkgfile')
-rw-r--r--coreutils/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/coreutils/Pkgfile b/coreutils/Pkgfile
new file mode 100644
index 0000000..2ca3a21
--- /dev/null
+++ b/coreutils/Pkgfile
@@ -0,0 +1,22 @@
+description="A collection of core GNU utilities"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.gnu.org/software/coreutils/"
+depends=(libgmp acl libcap)
+
+name=coreutils
+version=8.7
+release=1
+source=(http://ftp.gnu.org/pub/gnu/coreutils/coreutils-8.7.tar.xz coreutils-uname.patch)
+build ()
+{
+ cd $name-$version;
+ patch -p1 -i $SRC/coreutils-uname.patch;
+ ./configure --prefix=/usr --mandir=/usr/man --disable-nls --disable-assert --enable-no-install-program=uptime,kill,chcon,runcon,groups;
+ make;
+ make DESTDIR=$PKG install;
+ mkdir $PKG/bin;
+ mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin;
+ mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin;
+ rm -r $PKG/usr/share
+}