Magellan Linux

Contents of /trunk/core/grep/grep-2.12-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12846 - (show annotations) (download)
Wed Jul 4 10:59:08 2012 UTC (11 years, 11 months ago) by niro
File size: 595 byte(s)
-marked stable
1 # $Id$
2
3 PNAME="grep"
4 PVER="2.12"
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
15 SRCFILE="${PNAME}-${PVER}.tar.xz"
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} xz"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 # --disable-perl-regexp disables build with libpcre
32 mconfigure \
33 --with-included-regex \
34 --disable-perl-regexp || die
35
36 mmake || die
37 }