Annotation of /branches/magellan-next/core/gettext/gettext-0.18.1.1-r3.smage2
Parent Directory | Revision Log
Revision 7538 -
(hide annotations)
(download)
Thu May 26 16:18:09 2011 UTC (13 years, 4 months ago) by niro
File size: 1132 byte(s)
Thu May 26 16:18:09 2011 UTC (13 years, 4 months ago) by niro
File size: 1132 byte(s)
auto added: ver bump to 0.18.1.1-r3
1 | niro | 7538 | # $Id$ |
2 | |||
3 | PNAME="gettext" | ||
4 | PVER="0.18.1.1" | ||
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 | # libstdc++ provides libgomp.so for the msgmerge program | ||
14 | DEPEND=">= virtual/glibc | ||
15 | >= sys-libs/libstdc++-4.6 | ||
16 | >= sys-libs/ncurses-5.9" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude multilib | ||
22 | |||
23 | SRC_URI=( | ||
24 | gnu://${PNAME}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${PNAME}-0.14.5-fix-race.patch | ||
27 | ) | ||
28 | |||
29 | UP2DATE="updatecmd_gnu ${PNAME} gz" | ||
30 | |||
31 | src_prepare() | ||
32 | { | ||
33 | munpack ${SRCFILE} || die | ||
34 | |||
35 | # fixes a race condition with opts >= -j2 | ||
36 | mpatch ${PNAME}-0.14.5-fix-race.patch || die | ||
37 | } | ||
38 | |||
39 | src_compile() | ||
40 | { | ||
41 | # use included libcroco and glib2 to not depend on external glib2 | ||
42 | mconfigure \ | ||
43 | --without-emacs \ | ||
44 | --disable-java \ | ||
45 | --with-included-glib \ | ||
46 | --with-included-libcroco \ | ||
47 | || die | ||
48 | |||
49 | mmake || die | ||
50 | } | ||
51 | |||
52 | src_install() | ||
53 | { | ||
54 | minstall_destdir || die | ||
55 | |||
56 | # clean up stuff (needs to many space) | ||
57 | rm -rf ${BINDIR}/usr/share/doc/${PNAME} || die | ||
58 | minstalldocs AUTHORS COPYING ChangeLog* PACKAGING README THANKS || die | ||
59 | } |