Magellan Linux

Annotation of /trunk/core/diffutils/diffutils-3.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12933 - (hide annotations) (download)
Tue Aug 14 08:06:27 2012 UTC (11 years, 9 months ago) by niro
File size: 727 byte(s)
auto added: ver bump to 3.2-r2
1 niro 12933 # $Id$
2    
3     PNAME="diffutils"
4     PVER="3.2"
5     PBUILD="r2"
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     sminclude mbuild
19    
20     SRC_URI=(
21     gnu://${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch
24     )
25    
26     UP2DATE="updatecmd_gnu ${PNAME} gz"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # fix ftbfs with newer glibc (>= 2.16)
34     mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40     mconfigure --enable-nls || die
41     mmake || die
42     }