Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id