Contents of /trunk/core/gettext/gettext-0.17-r3.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1324 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1324 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/gettext/gettext-0.17-r3.smage2,v 1.1 2008/04/14 21:33:20 niro Exp $ |
2 | |
3 | PNAME="gettext" |
4 | PVER="0.17" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="sys-dev" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="GNU locale utilities." |
11 | HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude multilib |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${PNAME}-0.14.5-fix-race.patch |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | |
32 | # fixes a race condition with opts >= -j2 |
33 | mpatch ${PNAME}-0.14.5-fix-race.patch || die |
34 | |
35 | # remove broken bundled libtool; fixes misbehaviors on x86_64 |
36 | # http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html |
37 | all-abis "sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]" || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | # use included libcroco and glib2 to not depend on external glib2 |
43 | mconfigure \ |
44 | --without-emacs \ |
45 | --disable-java \ |
46 | --with-included-glib \ |
47 | --with-included-libcroco \ |
48 | || die |
49 | |
50 | mmake || die |
51 | } |
52 | |
53 | src_install() |
54 | { |
55 | minstall_destdir || die |
56 | |
57 | # clean up stuff (needs to many space) |
58 | rm -rf ${BINDIR}/usr/share/doc/${PNAME} || die |
59 | minstalldocs AUTHORS COPYING ChangeLog* PACKAGING README THANKS || die |
60 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |