CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rc: removed lo/net support from rc.conf
[crossrootfs.git] / diffutils / Pkgfile
index 2529982d095b48e609ec91f5d925f9d158425bbb..4f5c46423ed07e17dfa2084f7543efa36811ad79 100644 (file)
@@ -1,22 +1,28 @@
 # Description: Package with the GNU diff, diff3, sdiff, and cmp utilities
 # URL: http://www.gnu.org/software/diffutils/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on:
 
 name=diffutils
-version=2.8.1
-release=2
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+version=3.3
+release=1
+source=(http://ftp.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
+
   make
   make prefix=$PKG/usr install
-  rm -rf $PKG/usr/info
+
+  rm -rf $PKG/usr/share
 }