Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12753 - (show annotations) (download)
Mon Jul 2 14:37:15 2012 UTC (11 years, 10 months ago) by niro
File size: 612 byte(s)
-marked unstable
1 # $Id$
2
3 PNAME="grep"
4 PVER="2.12"
5 PBUILD="r2"
6
7 PCAT="sys-apps"
8 STATE="unstable"
9
10 DESCRIPTION="GNU regular expression matcher."
11 HOMEPAGE="http://www.gnu.org/software/grep/grep.html"
12
13 DEPEND=">= virtual/glibc"
14 SDEPEND=">= sys-dev/gettext-0.18"
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 }