Magellan Linux

Contents of /branches/magellan-next/core/grep/grep-2.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7565 - (show annotations) (download)
Thu May 26 21:26:11 2011 UTC (12 years, 11 months ago) by niro
File size: 632 byte(s)
auto added: ver bump to 2.8-r1
1 # $Id$
2
3 PNAME="grep"
4 PVER="2.8"
5 PBUILD="r1"
6
7 PCATEGORIE="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.gz"
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}"
27
28 src_compile()
29 {
30 cd ${SRCDIR}
31
32 # --disable-perl-regexp disables build with libpcre
33 mconfigure \
34 --bindir=/bin \
35 --with-included-regex \
36 --disable-perl-regexp || die
37
38 mmake || die
39 }