CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / diffutils / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Package with the GNU diff, diff3, sdiff, and cmp utilities
2# URL: http://www.gnu.org/software/diffutils/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=diffutils
e364adf3
VM
8version=3.3
9release=1
10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
6dca1d21
JB
11
12build() {
13 cd $name-$version
8edf4cd2
VM
14
15 # fix for glibc 'gets' removal
16 sed -i -e '/gets is a/d' lib/stdio.in.h
17
6dca1d21
JB
18 ./configure --build=$CHOST \
19 --host=$CTARGET \
20 --prefix=/usr \
12d3bcd7 21 --mandir=$PKG/usr/man \
6dca1d21 22 --disable-nls
8edf4cd2 23
6dca1d21
JB
24 make
25 make prefix=$PKG/usr install
8edf4cd2 26
54ce0900 27 rm -rf $PKG/usr/share
6dca1d21 28}