Magellan Linux

Annotation of /smage/trunk/core/gawk/gawk-5.1.0-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14409 - (hide annotations) (download)
Mon Jul 13 12:39:13 2020 UTC (3 years, 10 months ago) by niro
File size: 774 byte(s)
-rebuild without mpfr dep
1 niro 14409 # $Id$
2    
3     PNAME="gawk"
4     PVER="5.1.0"
5     PBUILD="r3"
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    
14     SRCFILE="${PNAME}-${PVER}.tar.xz"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     msetfeature "!check"
18     ALX_PKG_KEEP="usr/bin/gawk usr/bin/awk"
19     sminclude mbuild alx-split
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-mpfr || 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     }