Contents of /smage/trunk/core/diffutils/diffutils-2.8.7-r5.smage2
Parent Directory | Revision Log
Revision 6 -
(show annotations)
(download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 8 months ago) by niro
File size: 1077 byte(s)
Sun Jan 11 01:07:49 2009 UTC (15 years, 8 months ago) by niro
File size: 1077 byte(s)
-fixed old cvs headers
1 | # $Id$ |
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 |