Contents of /branches/magellan-next/core/grep/grep-2.9-r1.smage2
Parent Directory | Revision Log
Revision 9098 -
(show annotations)
(download)
Sat Nov 5 15:03:20 2011 UTC (12 years, 10 months ago) by niro
File size: 615 byte(s)
Sat Nov 5 15:03:20 2011 UTC (12 years, 10 months ago) by niro
File size: 615 byte(s)
auto added: ver bump to 2.9-r1
1 | # $Id$ |
2 | |
3 | PNAME="grep" |
4 | PVER="2.9" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | |
9 | DESCRIPTION="GNU regular expression matcher." |
10 | HOMEPAGE="http://www.gnu.org/software/grep/grep.html" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | SDEPEND=">= sys-dev/gettext-0.18" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd_gnu ${PNAME}" |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | |
31 | # --disable-perl-regexp disables build with libpcre |
32 | mconfigure \ |
33 | --bindir=/bin \ |
34 | --with-included-regex \ |
35 | --disable-perl-regexp || die |
36 | |
37 | mmake || die |
38 | } |