Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12068 - (show annotations) (download)
Fri May 4 12:36:04 2012 UTC (12 years, 1 month ago) by niro
File size: 613 byte(s)
auto added: ver bump to 2.12-r1
1 # $Id$
2
3 PNAME="grep"
4 PVER="2.12"
5 PBUILD="r1"
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 --bindir=/bin \
34 --with-included-regex \
35 --disable-perl-regexp || die
36
37 mmake || die
38 }