Magellan Linux

Annotation of /trunk/core/gawk/gawk-4.0.0-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28577 - (hide annotations) (download)
Fri Dec 30 13:48:43 2016 UTC (7 years, 5 months ago) by niro
File size: 712 byte(s)
-readline-7.0 rebuild
1 niro 28577 # $Id$
2    
3     PNAME="gawk"
4     PVER="4.0.0"
5     PBUILD="r4"
6    
7     PCAT="sys-apps"
8    
9     DESCRIPTION="GNU awk pattern-matching language."
10     HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"
11    
12     DEPEND=">= virtual/glibc
13     >= sys-libs/readline-7.0"
14    
15     SRCFILE="${PNAME}-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude mbuild
19    
20     SRC_URI=(
21     gnu://${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd_gnu ${PNAME}"
26    
27     src_compile()
28     {
29     cd ${SRCDIR}
30    
31     mconfigure --libexecdir=/usr/$(mlibdir) || die
32     mmake || die
33     }
34    
35     src_install()
36     {
37     cd ${SRCDIR}
38    
39     minstall libexecdir=${BINDIR}/usr/$(mlibdir) || die
40    
41     minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FUTURES \
42     LIMITATIONS NEWS POSIX.STD PROBLEMS README || die
43     }