Contents of /trunk/core/gettext/gettext-0.18.2-r1.smage2
Parent Directory | Revision Log
Revision 14496 -
(show annotations)
(download)
Sun Dec 30 11:47:02 2012 UTC (11 years, 5 months ago) by niro
File size: 1246 byte(s)
Sun Dec 30 11:47:02 2012 UTC (11 years, 5 months ago) by niro
File size: 1246 byte(s)
auto added: ver bump to 0.18.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="gettext" |
4 | PVER="0.18.2" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="sys-dev" |
8 | |
9 | DESCRIPTION="GNU locale utilities." |
10 | HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html" |
11 | |
12 | DEPEND=">= virtual/glibc |
13 | >= dev-libs/libxml2-2.7 |
14 | >= sys-libs/libgomp-4.7 |
15 | >= sys-libs/libstdc++-4.7 |
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 | mirror://${PNAME}/${PNAME}-0.18.1.1-gnulib-gets.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 | # fix ftbfs with newer glibc (>=2.16) |
40 | mpatch ${PNAME}-0.18.1.1-gnulib-gets.patch || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | # use included libcroco and glib2 to not depend on external glib2 |
46 | mconfigure \ |
47 | --without-emacs \ |
48 | --disable-java \ |
49 | --with-included-glib \ |
50 | --with-included-libcroco \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |
55 | |
56 | src_install() |
57 | { |
58 | minstall_destdir || die |
59 | |
60 | # clean up stuff (needs to many space) |
61 | rm -rf ${BINDIR}/usr/share/doc/${PNAME} || die |
62 | minstalldocs AUTHORS COPYING ChangeLog* PACKAGING README THANKS || die |
63 | } |