Annotation of /smage/branches/alx-0_9_0/gettext/gettext-0.17-r3.smage2
Parent Directory
|
Revision Log
Revision 1271 -
(hide annotations)
(download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 5 months ago) by niro
File size: 1293 byte(s)
Tue Dec 29 12:48:37 2009 UTC (14 years, 5 months ago) by niro
File size: 1293 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 | niro | 3 | # $Header: /alx-cvs/smage-eglibc/gettext/gettext-0.17-r3.smage2,v 1.1 2008/04/14 21:34:19 niro Exp $ |
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 |