Commit | Line | Data |
---|---|---|
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 | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: libpcre | |
6 | ||
7 | name=grep | |
8 | version=2.5.4 | |
9 | release=1 | |
10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
17 | --disable-nls \ | |
18 | --mandir=/usr/man \ | |
19 | --disable-nls | |
20 | make | |
21 | make DESTDIR=$PKG install | |
22 | rm -r $PKG/usr/share | |
23 | } |