blob: f4ff6e407b1f3a55f9d8ae7b6fbc02db69b74236 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
description="GNU grep, egrep and fgrep."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/grep/grep.html"
depends=(libpcre)
name=grep
version=2.7
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build ()
{
cd $name-$version;
./configure \
${CHOST:+--build=${CHOST}} \
${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
$(use_enable nls) \
--mandir=$mandir;
make;
make DESTDIR=$PKG install;
}
|