Contents of /branches/branch-xorg18/core/diffutils/diffutils-2.8.7-r7.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1294 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1294 byte(s)
created branch 'branch-xorg18'
1 | # $Header: /magellan-cvs/smage/diffutils/diffutils-2.8.7-r5.smage2,v 1.1 2008/02/10 01:37:28 niro Exp $ |
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 --enable-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 |