Magellan Linux

Annotation of /trunk/core/gawk/gawk-5.0.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32977 - (hide annotations) (download)
Tue Oct 8 12:47:36 2019 UTC (4 years, 8 months ago) by niro
File size: 755 byte(s)
auto added: ver bump to 5.0.1-r1
1 niro 32977 # $Id$
2    
3     PNAME="gawk"
4     PVER="5.0.1"
5     PBUILD="r1"
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-8.0
14     >= dev-libs/mpfr-4"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.xz"
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} xz"
27    
28     src_compile()
29     {
30     cd ${SRCDIR}
31    
32     mconfigure --libexecdir=/usr/$(mlibdir) --without-libsigsegv || die
33     mmake || die
34     }
35    
36     src_install()
37     {
38     cd ${SRCDIR}
39    
40     minstall libexecdir=${BINDIR}/usr/$(mlibdir) || die
41    
42     minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FUTURES \
43     LIMITATIONS NEWS POSIX.STD PROBLEMS README || die
44     }