Annotation of /smage/branches/alx-0_6_0/core/gettext/gettext-0.18.1.1-r1.smage2
Parent Directory | Revision Log
Revision 1750 -
(hide annotations)
(download)
Mon Apr 11 20:25:25 2011 UTC (13 years, 2 months ago) by niro
File size: 1169 byte(s)
Mon Apr 11 20:25:25 2011 UTC (13 years, 2 months ago) by niro
File size: 1169 byte(s)
auto added: ver bump to 0.18.1.1-r1
1 | niro | 1750 | # $Id$ |
2 | |||
3 | PNAME="gettext" | ||
4 | PVER="0.18.1.1" | ||
5 | PBUILD="r1" | ||
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.5 | ||
16 | >= sys-libs/ncurses-5.8" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | REMOVE_DEPRECATED_MAGE_TARGETS=1 | ||
22 | sminclude multilib alx | ||
23 | |||
24 | SRC_URI=( | ||
25 | gnu://${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-0.14.5-fix-race.patch | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd_gnu ${PNAME} gz" | ||
31 | |||
32 | src_prepare() | ||
33 | { | ||
34 | munpack ${SRCFILE} || die | ||
35 | |||
36 | # fixes a race condition with opts >= -j2 | ||
37 | mpatch ${PNAME}-0.14.5-fix-race.patch || 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 | } |