Magellan Linux

Annotation of /smage/trunk/core/gettext/gettext-0.18.1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 668 - (hide annotations) (download)
Thu Oct 21 12:22:41 2010 UTC (13 years, 6 months ago) by niro
File size: 1194 byte(s)
auto added: ver bump to 0.18.1.1-r1
1 niro 668 # $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 mcore
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     }