Contents of /trunk/core/gettext/gettext-0.17-r6.smage2
Parent Directory | Revision Log
Revision 5604 -
(show annotations)
(download)
Mon Jul 12 11:10:39 2010 UTC (14 years, 2 months ago) by niro
File size: 1341 byte(s)
Mon Jul 12 11:10:39 2010 UTC (14 years, 2 months ago) by niro
File size: 1341 byte(s)
-fixed dependencies
1 | # $Id$ |
2 | |
3 | PNAME="gettext" |
4 | PVER="0.17" |
5 | PBUILD="r6" |
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.3 |
16 | >= sys-libs/ncurses-5.7" |
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 | # remove broken bundled libtool; fixes misbehaviors on x86_64 |
39 | # http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html |
40 | all-abis "sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]" || 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 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |