Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (hide annotations) (download)
Mon Jan 4 18:09:38 2010 UTC (14 years, 4 months ago) by niro
File size: 1263 byte(s)
-mcore-split
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 niro 70 MCORE_ONLY_KEEP="usr/bin/*"
20 niro 69 sminclude mcore-split
21    
22 niro 17 SRC_URI=(
23     ftp://alpha.gnu.org/gnu/${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     mirror://${PNAME}/${PNAME}-2.8.4-sdiff-no-waitpid.patch
26     mirror://${PNAME}/${PNAME}-${PVER}-i18n.patch
27     )
28    
29     UP2DATE="updatecmd ftp://alpha.gnu.org/gnu/${PNAME} | grep ${PNAME}-.* | lasttarball gz"
30    
31     src_prepare()
32     {
33     munpack ${SRCFILE} || die
34     cd ${SRCDIR}
35    
36     # removes waitpid() call after pclose() on a piped diff stream
37     mpatch ${PNAME}-2.8.4-sdiff-no-waitpid.patch || die
38    
39     # fix utf8
40     mpatch ${PNAME}-${PVER}-i18n.patch || die
41    
42     # do not generate man-pages, needs help2man
43     touch man/*.1 || die
44    
45     # fix permissions
46     chmod ug+w config/* || die
47     }
48    
49     src_compile()
50     {
51     cd ${SRCDIR}
52     mconfigure --disable-nls || die
53     mmake || die
54     }
55    
56 niro 69 mcore_generic_src_install()
57 niro 17 {
58     cd ${SRCDIR}
59     make DESTDIR=${BINDIR} install || die
60     minstalldocs ABOUT-NLS AUTHORS COPYING NEWS README THANKS TODO || die
61     }

Properties

Name Value
svn:keywords Id