Annotation of /trunk/core/diffutils/diffutils-2.8.7-r6.smage2
Parent Directory | Revision Log
Revision 108 -
(hide annotations)
(download)
Tue Oct 14 10:46:33 2008 UTC (15 years, 8 months ago) by niro
File size: 1159 byte(s)
Tue Oct 14 10:46:33 2008 UTC (15 years, 8 months ago) by niro
File size: 1159 byte(s)
-rev bump to 2.8.7-r6
1 | niro | 108 | # $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="r6" | ||
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 | mirror://${PNAME}/${SRCFILE} | ||
21 | mirror://${PNAME}/${PNAME}-2.8.4-sdiff-no-waitpid.patch | ||
22 | mirror://${PNAME}/${PNAME}-${PVER}-i18n.patch | ||
23 | ) | ||
24 | |||
25 | src_prepare() | ||
26 | { | ||
27 | munpack ${SRCFILE} || die | ||
28 | cd ${SRCDIR} | ||
29 | |||
30 | # removes waitpid() call after pclose() on a piped diff stream | ||
31 | mpatch ${PNAME}-2.8.4-sdiff-no-waitpid.patch || die | ||
32 | |||
33 | # fix utf8 | ||
34 | mpatch ${PNAME}-${PVER}-i18n.patch || die | ||
35 | |||
36 | # do not generate man-pages, needs help2man | ||
37 | touch man/*.1 || die | ||
38 | |||
39 | # fix permissions | ||
40 | chmod ug+w config/* || die | ||
41 | } | ||
42 | |||
43 | src_compile() | ||
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | mconfigure --enable-nls || die | ||
47 | mmake || die | ||
48 | } | ||
49 | |||
50 | src_install() | ||
51 | { | ||
52 | cd ${SRCDIR} | ||
53 | make DESTDIR=${BINDIR} install || die | ||
54 | minstalldocs ABOUT-NLS AUTHORS COPYING NEWS README THANKS TODO || die | ||
55 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |