Contents of /trunk/core/grep/grep-2.14-r2.smage2
Parent Directory | Revision Log
Revision 13202 -
(show annotations)
(download)
Wed Sep 5 09:40:16 2012 UTC (12 years ago) by niro
File size: 618 byte(s)
Wed Sep 5 09:40:16 2012 UTC (12 years ago) by niro
File size: 618 byte(s)
-added missing provides
1 | # $Id$ |
2 | |
3 | PNAME="grep" |
4 | PVER="2.14" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="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 | PROVIDE="virtual/grep" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mbuild |
20 | |
21 | SRC_URI=( |
22 | gnu://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_gnu ${PNAME} xz" |
27 | |
28 | src_compile() |
29 | { |
30 | cd ${SRCDIR} |
31 | |
32 | # --disable-perl-regexp disables build with libpcre |
33 | mconfigure \ |
34 | --with-included-regex \ |
35 | --disable-perl-regexp || die |
36 | |
37 | mmake || die |
38 | } |