CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / coreutils / Pkgfile
index 58686d4c049f1d3f8c8f35e1b25eaa8640a1e2ba..0a4c4f73e94c12b512242a9af26d5f4a37c61eaf 100644 (file)
@@ -1,21 +1,22 @@
 # 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
-# Depends on: libgmp
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libgmp acl libcap
 
 name=coreutils
-version=7.4
+version=8.29
 release=1
-source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz 
-        coreutils-uname.patch)
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz
+        $name-uname.patch)
 
 build() {
   cd $name-$version
-  patch -p1 -i $SRC/coreutils-uname.patch
-  touch man/uname.1 man/hostname.1
+
+  patch -p1 -i $SRC/$name-uname.patch
 
   cat > config.cache <<EOF
+ac_cv_search_clock_gettime=no
 fu_cv_sys_stat_statfs2_bsize=yes
 gl_cv_func_rename_trailing_slash_bug=no
 gl_cv_func_mbrtowc_incomplete_state=yes
@@ -27,15 +28,14 @@ gl_cv_func_wcrtomb_retval=yes
 gl_cv_func_wctob_works=yes
 EOF
 
-  DEFAULT_POSIX2_VERSION=199209 \
+  export FORCE_UNSAFE_CONFIGURE=1
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
+              --libexecdir=/usr/lib \
               --disable-nls \
               --disable-assert \
-              --disable-libcap \
-              --disable-xattr \
               --enable-no-install-program=uptime,kill,chcon,runcon,groups \
               --cache-file=config.cache
 
@@ -45,5 +45,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
+  rm -r $PKG/usr/share/info
 }