Contents of /smage/trunk/core/gettext/gettext-0.18.1.1-r2.smage2
Parent Directory | Revision Log
Revision 1382 -
(show annotations)
(download)
Tue Mar 1 18:58:54 2011 UTC (13 years, 6 months ago) by niro
File size: 1132 byte(s)
Tue Mar 1 18:58:54 2011 UTC (13 years, 6 months ago) by niro
File size: 1132 byte(s)
-rebuild against ncureses-5.8
1 | # $Id$ |
2 | |
3 | PNAME="gettext" |
4 | PVER="0.18.1.1" |
5 | PBUILD="r2" |
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 | 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 | } |