CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / coreutils / Pkgfile
index 2a519e0739452701d9c7d701be1847800b19deea..0a4c4f73e94c12b512242a9af26d5f4a37c61eaf 100644 (file)
@@ -5,9 +5,9 @@
 # Depends on: libgmp acl libcap
 
 name=coreutils
-version=8.20
+version=8.29
 release=1
-source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz \
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz
         $name-uname.patch)
 
 build() {
@@ -34,31 +34,16 @@ EOF
               --host=$CTARGET \
               --prefix=/usr \
               --libexecdir=/usr/lib \
-              --mandir=/usr/man \
               --disable-nls \
               --disable-assert \
               --enable-no-install-program=uptime,kill,chcon,runcon,groups \
               --cache-file=config.cache
 
-  # fix to avoid crosscompile make-prime-list
-  sed '/src_make_prime_list/d' -i Makefile
-  depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`
-  gcc -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src \
-      -fdiagnostics-show-option -funit-at-a-time \
-      -g -O2 -MT src/make-prime-list.o -MD -MP -MF $depbase.Tpo \
-      -c -o src/make-prime-list.o src/make-prime-list.c
-  mv -f $depbase.Tpo $depbase.Po
-  gcc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time \
-      -g -O2 -Wl,--as-needed  -o src/make-prime-list src/make-prime-list.o
-
-  # fix to avoid rebuild manpages
-  sed 's|SUFFIXES: .1|SUFFIXES: |' -i Makefile
-
   make
   make DESTDIR=$PKG install
 
   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
+  rm -r $PKG/usr/share/info
 }