Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations) (download)
Sun Jan 11 00:59:57 2009 UTC (15 years, 4 months ago) by niro
File size: 1176 byte(s)
-moved several base packages to 'core'
1 # $Header: /alx-cvs/smage-eglibc/diffutils/diffutils-2.8.7-r5.smage2,v 1.2 2008/03/04 13:11:45 niro Exp $
2
3 PNAME="diffutils"
4 PVER="2.8.7"
5 PBUILD="r5"
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 alx
20
21 SRC_URI=(
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-2.8.4-sdiff-no-waitpid.patch
24 mirror://${PNAME}/${PNAME}-${PVER}-i18n.patch
25 )
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # removes waitpid() call after pclose() on a piped diff stream
33 mpatch ${PNAME}-2.8.4-sdiff-no-waitpid.patch || die
34
35 # fix utf8
36 mpatch ${PNAME}-${PVER}-i18n.patch || die
37
38 # do not generate man-pages, needs help2man
39 touch man/*.1 || die
40
41 # fix permissions
42 chmod ug+w config/* || die
43 }
44
45 src_compile()
46 {
47 cd ${SRCDIR}
48 mconfigure --enable-nls || die
49 mmake || die
50 }
51
52 src_install()
53 {
54 cd ${SRCDIR}
55 make DESTDIR=${BINDIR} install || die
56 minstalldocs ABOUT-NLS AUTHORS COPYING NEWS README THANKS TODO || die
57 }

Properties

Name Value
svn:keywords Id