Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1737 - (show annotations) (download)
Mon Sep 19 08:31:25 2011 UTC (12 years, 7 months ago) by niro
File size: 1115 byte(s)
auto added: ver bump to 0.18.1.1-r3
1 # $Id$
2
3 PNAME="gettext"
4 PVER="0.18.1.1"
5 PBUILD="r3"
6
7 PCATEGORIE="sys-dev"
8
9 DESCRIPTION="GNU locale utilities."
10 HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html"
11
12 # libstdc++ provides libgomp.so for the msgmerge program
13 DEPEND=">= virtual/glibc
14 >= sys-libs/libstdc++-4.6
15 >= sys-libs/ncurses-5.9"
16
17 SRCFILE="${PNAME}-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude multilib
21
22 SRC_URI=(
23 gnu://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${PNAME}-0.14.5-fix-race.patch
26 )
27
28 UP2DATE="updatecmd_gnu ${PNAME} gz"
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33
34 # fixes a race condition with opts >= -j2
35 mpatch ${PNAME}-0.14.5-fix-race.patch || 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 }