Magellan Linux

Annotation of /smage/trunk/core/diffutils/diffutils-3.2-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6501 - (hide annotations) (download)
Mon Jul 13 13:29:59 2015 UTC (8 years, 11 months ago) by niro
File size: 761 byte(s)
auto added: ver bump to 3.2-r5
1 niro 6501 # $Id$
2    
3     PNAME="diffutils"
4     PVER="3.2"
5     PBUILD="r5"
6    
7     PCAT="sys-apps"
8    
9     DESCRIPTION="Tools to make diffs and compare files."
10     HOMEPAGE="http://www.gnu.org/software/diffutils/diffutils.html"
11    
12     DEPEND=">= virtual/glibc"
13     SDEPEND=">= sys-dev/gettext-0.18"
14    
15     SRCFILE="${PNAME}-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     ALX_PKG_KEEP="usr/bin"
19     sminclude mbuild alx-split
20    
21     SRC_URI=(
22     gnu://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch
25     )
26    
27     UP2DATE="updatecmd_gnu ${PNAME} gz"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # fix ftbfs with newer glibc (>= 2.16)
35     mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die
36     }
37    
38     src_compile()
39     {
40     cd ${SRCDIR}
41     mconfigure --disable-nls || die
42     mmake || die
43     }