CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
coreutils: updated to 8.22
[crossrootfs.git] / tar / Pkgfile
index 753ae8596b5640e2d1707fa03225e2dd520eb3c9..119b48b6b5d5160f2ae416581d20f5529a077821 100644 (file)
@@ -5,20 +5,25 @@
 # Depends on:
 
 name=tar
-version=1.22
-release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
+version=1.26
+release=2
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
         $name-rootp.patch tar.1 rmt.8)
 
 build() {
   cd $name-$version
+
+  # fix for glibc 'gets' removal
+  sed -i -e '/gets is a/d' gnu/stdio.in.h
   patch -p1 -i $SRC/$name-rootp.patch
 
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix= \
               --libexec=/usr/lib/tar \
-              --disable-nls
+              --disable-nls \
+              FORCE_UNSAFE_CONFIGURE=1
+              
   make
   make DESTDIR=$PKG install