X-Git-Url: http://gitweb/?a=blobdiff_plain;f=diffutils%2FPkgfile;h=5a82310cd725624b3169aaa7c6a8de15b1f0c1f4;hb=7b0860c6d01e4b09cdf74a00447f4345670af8cb;hp=b7cc434eb8cdb94e12e30da976875ecf8c2fb076;hpb=12d3bcd79e52bc82eeda319526f6725a325a1349;p=crossrootfs.git diff --git a/diffutils/Pkgfile b/diffutils/Pkgfile index b7cc434..5a82310 100644 --- a/diffutils/Pkgfile +++ b/diffutils/Pkgfile @@ -1,22 +1,26 @@ # 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, 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=1 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) +version=3.3 +release=2 +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 + rm -rf $PKG/usr/share/info }