CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
readline: updated to 7.0.3
[crossrootfs.git] / diffutils / Pkgfile
index b45620aaebc05d6652ace085f16a8914550ef713..85917219853cf83c9488427fd964d8a8d4a65746 100644 (file)
@@ -5,24 +5,20 @@
 # Depends on:
 
 name=diffutils
-version=3.2
-release=2
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+version=3.6
+release=1
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
 
 build() {
   cd $name-$version
 
-  # fix for glibc 'gets' removal
-  sed -i -e '/gets is a/d' lib/stdio.in.h
-
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=$PKG/usr/man \
-              --disable-nls
+              --disable-nls \
+              gl_cv_func_getopt_gnu=yes
 
   make
   make prefix=$PKG/usr install
-
-  rm -rf $PKG/usr/share
+  rm -rf $PKG/usr/share/info
 }