Magellan Linux

Contents of /branches/magellan-next/core/grep/grep-2.5.4-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5900 - (show annotations) (download)
Tue Aug 17 15:06:17 2010 UTC (13 years, 9 months ago) by niro
File size: 818 byte(s)
imported from trunk
1 # $Id$
2
3 PNAME="grep"
4 PVER="2.5.4"
5 PBUILD="r2"
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
15 SDEPEND=">= sys-dev/gettext-0.17"
16
17 SRCFILE="${PNAME}-${PVER}.tar.bz2"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 SRC_URI=(
21 gnu://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd_gnu ${PNAME}"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 }
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 # --disable-perl-regexp disables build with libpcre
37 mconfigure \
38 --bindir=/bin \
39 --with-included-regex \
40 --disable-perl-regexp || die
41
42 mmake || die
43 }
44
45 src_install()
46 {
47 cd ${SRCDIR}
48
49 minstall bindir=${BINDIR}/bin || die
50 minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* THANKS TODO || die
51 }

Properties

Name Value
svn:keywords Id