Magellan Linux

Annotation of /smage/trunk/core/gettext/gettext-0.17-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id