Magellan Linux

Annotation of /smage/trunk/core/diffutils/diffutils-2.8.7-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17 - (hide annotations) (download)
Sat Jan 2 23:21:05 2010 UTC (14 years, 4 months ago) by niro
File size: 1198 byte(s)
auto added: ver bump to 2.8.7-r7
1 niro 17 # $Id$
2    
3     PNAME="diffutils"
4     PVER="2.8.7"
5     PBUILD="r7"
6    
7     PCATEGORIE="sys-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="Tools to make diffs and compare files."
11     HOMEPAGE="http://www.gnu.org/software/diffutils/diffutils.html"
12    
13     DEPEND=">= virtual/glibc"
14     SDEPEND=">= sys-dev/gettext-0.17"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     SRC_URI=(
20     ftp://alpha.gnu.org/gnu/${PNAME}/${SRCFILE}
21     mirror://${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${PNAME}-2.8.4-sdiff-no-waitpid.patch
23     mirror://${PNAME}/${PNAME}-${PVER}-i18n.patch
24     )
25    
26     UP2DATE="updatecmd ftp://alpha.gnu.org/gnu/${PNAME} | grep ${PNAME}-.* | lasttarball gz"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # removes waitpid() call after pclose() on a piped diff stream
34     mpatch ${PNAME}-2.8.4-sdiff-no-waitpid.patch || die
35    
36     # fix utf8
37     mpatch ${PNAME}-${PVER}-i18n.patch || die
38    
39     # do not generate man-pages, needs help2man
40     touch man/*.1 || die
41    
42     # fix permissions
43     chmod ug+w config/* || die
44     }
45    
46     src_compile()
47     {
48     cd ${SRCDIR}
49     mconfigure --disable-nls || die
50     mmake || die
51     }
52    
53     src_install()
54     {
55     cd ${SRCDIR}
56     make DESTDIR=${BINDIR} install || die
57     minstalldocs ABOUT-NLS AUTHORS COPYING NEWS README THANKS TODO || die
58     }

Properties

Name Value
svn:keywords Id