Magellan Linux

Contents of /branches/R11-stable/core/grep/grep-2.14-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14770 - (show annotations) (download)
Wed Jan 2 09:23:42 2013 UTC (11 years, 4 months ago) by niro
File size: 618 byte(s)
-release branches/R11-stable
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 }