Magellan Linux

Contents of /branches/magellan-next/core/gettext/gettext-0.18.1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5861 - (show annotations) (download)
Tue Aug 17 13:28:13 2010 UTC (13 years, 8 months ago) by niro
File size: 1401 byte(s)
auto added: ver bump to 0.18.1.1-r1
1 # $Id: gettext-0.17-r6.smage2 5604 2010-07-12 11:10:39Z niro $
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.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 }