Magellan Linux

Annotation of /trunk/core/grep/grep-2.5.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1095 - (hide annotations) (download)
Wed Apr 22 12:13:43 2009 UTC (15 years, 5 months ago) by niro
File size: 818 byte(s)
auto added: ver bump to 2.5.4-r1
1 niro 1095 # $Id$
2    
3     PNAME="grep"
4     PVER="2.5.4"
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    
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