CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: removed not used patches
[crossrootfs.git] / coreutils / Pkgfile
index 64ef2100239ec2cac42f4b964158c4901319f0c0..a3dcd6aa3fdaf6b4b4373f9128bfe7ce67bb2945 100644 (file)
@@ -1,22 +1,20 @@
 # Description: A collection of core GNU utilities
 # URL: http://www.gnu.org/software/coreutils/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: libgmp
 
 name=coreutils
-version=8.4
-release=2
-source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz 
-        coreutils-uname.patch)
+version=8.19
+release=1
+source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz
+        coreutils-uname.patch
+        http://crux-arm.nu/files/distfiles/coreutils-8.19_manpages.tar.xz)
 
 build() {
   cd $name-$version
   patch -p1 -i $SRC/coreutils-uname.patch
-
-  for f in $(find man/ -type f -name '*.x' -exec basename {} .x \;); do
-    touch $f
-  done
+  sed "s|SUBDIRS = lib src doc man po tests gnulib-tests|SUBDIRS = lib src tests gnulib-tests|g" -i Makefile.in
 
   cat > config.cache <<EOF
 ac_cv_search_clock_gettime=no
@@ -37,6 +35,7 @@ EOF
               --host=$CTARGET \
               --prefix=/usr \
               --mandir=/usr/man \
+              --libexecdir=/usr/lib \
               --disable-nls \
               --disable-assert \
               --disable-libcap \
@@ -50,5 +49,5 @@ EOF
   install -d $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
+  mv $SRC/usr/man $PKG/usr/
 }