X-Git-Url: http://gitweb/?a=blobdiff_plain;f=diffutils%2FPkgfile;h=4f5c46423ed07e17dfa2084f7543efa36811ad79;hb=66448b56d844b2ff0d64c60967f9d18672db2ee9;hp=792ca83e398c46af08d46bd774a5a15f1681c678;hpb=83e7e2d09802b3a99d4eda97a03cad72a1b1039a;p=crossrootfs.git diff --git a/diffutils/Pkgfile b/diffutils/Pkgfile index 792ca83..4f5c464 100644 --- a/diffutils/Pkgfile +++ b/diffutils/Pkgfile @@ -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, devel@crux-arm.nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=diffutils -version=2.9 +version=3.3 release=1 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) +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/share }