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
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=diffutils
8 version=3.3
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
11
12 build() {
13 cd $name-$version
14
15 # fix for glibc 'gets' removal
16 sed -i -e '/gets is a/d' lib/stdio.in.h
17
18 ./configure --build=$CHOST \
19 --host=$CTARGET \
20 --prefix=/usr \
21 --mandir=$PKG/usr/man \
22 --disable-nls
23
24 make
25 make prefix=$PKG/usr install
26
27 rm -rf $PKG/usr/share
28 }