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] / grep / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: GNU grep, egrep and fgrep
2# URL: http://www.gnu.org/software/grep/grep.html
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: libpcre
6
7name=grep
1e81365f 8version=2.20
6dca1d21 9release=1
baa8674f 10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
6dca1d21
JB
11
12build() {
13 cd $name-$version
031755e7 14
6dca1d21
JB
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
6dca1d21
JB
18 --mandir=/usr/man \
19 --disable-nls
031755e7 20
6dca1d21
JB
21 make
22 make DESTDIR=$PKG install
031755e7 23
6dca1d21
JB
24 rm -r $PKG/usr/share
25}