CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
coreutils: Fixed manuals without building them, they are provided.
authorVictor Martinez <pitillo@ono.com>
Mon, 21 Jun 2010 13:04:03 +0000 (13:04 +0000)
committerJose V Beneyto <sepen@crux.nu>
Mon, 21 Jun 2010 13:02:34 +0000 (15:02 +0200)
coreutils/.md5sum
coreutils/Pkgfile

index d2555fb4777128f75099b63590e412aeca3560b6..0940b8489eaa14476b5175e7c1002328853724cc 100644 (file)
@@ -1,2 +1,3 @@
 56f549854d723d9dcebb77919019df55  coreutils-8.4.tar.gz
+75eb9d7f0c9f0e25bee29c77935146d2  coreutils-8.4_manpages.tar.bz2
 e14ef9dd59a7e6c7f3ae706771964d75  coreutils-uname.patch
index b1e971265ed609fb4945a66fcf749f16842c2228..a99f8767348f13b6b6f52bd7cc278a2f1283a843 100644 (file)
@@ -6,17 +6,15 @@
 
 name=coreutils
 version=8.4
-release=3
+release=4
 source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz 
-        coreutils-uname.patch)
+        coreutils-uname.patch \
+        http://crux-arm.nu/files/distfiles/coreutils-8.4_manpages.tar.bz2)
 
 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 $f.1
-  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
@@ -50,5 +48,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/
 }