Magellan Linux

Contents of /smage/trunk/core/gettext/gettext-0.17-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations) (download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 3 months ago) by niro
File size: 1199 byte(s)
-fixed old cvs headers
1 # $Id$
2
3 PNAME="gettext"
4 PVER="0.17"
5 PBUILD="r3"
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 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude multilib alx
19
20 SRC_URI=(
21 gnu://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-0.14.5-fix-race.patch
24 )
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29
30 # fixes a race condition with opts >= -j2
31 mpatch ${PNAME}-0.14.5-fix-race.patch || die
32
33 # remove broken bundled libtool; fixes misbehaviors on x86_64
34 # http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html
35 all-abis "sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]" || die
36 }
37
38 src_compile()
39 {
40 # use included libcroco and glib2 to not depend on external glib2
41 mconfigure \
42 --without-emacs \
43 --disable-java \
44 --with-included-glib \
45 --with-included-libcroco \
46 || die
47
48 mmake || die
49 }
50
51 src_install()
52 {
53 minstall_destdir || die
54
55 # clean up stuff (needs to many space)
56 rm -rf ${BINDIR}/usr/share/doc/${PNAME} || die
57 minstalldocs AUTHORS COPYING ChangeLog* PACKAGING README THANKS || die
58 }

Properties

Name Value
svn:keywords Id