Contents of /branches/magellan-next/core/grep/grep-2.5.4-r3.smage2
Parent Directory | Revision Log
Revision 5927 -
(show annotations)
(download)
Tue Aug 17 17:21:57 2010 UTC (14 years, 1 month ago) by niro
File size: 871 byte(s)
Tue Aug 17 17:21:57 2010 UTC (14 years, 1 month ago) by niro
File size: 871 byte(s)
auto added: ver bump to 2.5.4-r3
1 | # $Id: grep-2.5.4-r2.smage2 3057 2009-10-07 18:50:24Z niro $ |
2 | |
3 | PNAME="grep" |
4 | PVER="2.5.4" |
5 | PBUILD="r3" |
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.bz2" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | SRC_URI=( |
20 | gnu://${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | ) |
23 | |
24 | UP2DATE="updatecmd_gnu ${PNAME}" |
25 | |
26 | src_prepare() |
27 | { |
28 | munpack ${SRCFILE} || die |
29 | } |
30 | |
31 | src_compile() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | # --disable-perl-regexp disables build with libpcre |
36 | mconfigure \ |
37 | --bindir=/bin \ |
38 | --with-included-regex \ |
39 | --disable-perl-regexp || die |
40 | |
41 | mmake || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR} |
47 | |
48 | minstall bindir=${BINDIR}/bin || die |
49 | minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* THANKS TODO || die |
50 | } |