Annotation of /branches/R11-stable/core/gettext/gettext-0.19.4-r1.smage2
Parent Directory | Revision Log
Revision 24106 -
(hide annotations)
(download)
Fri Feb 20 08:59:27 2015 UTC (9 years, 7 months ago) by niro
File size: 931 byte(s)
Fri Feb 20 08:59:27 2015 UTC (9 years, 7 months ago) by niro
File size: 931 byte(s)
-release branches/R11-stable
1 | niro | 23516 | # $Id$ |
2 | |||
3 | PNAME="gettext" | ||
4 | PVER="0.19.4" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="sys-dev" | ||
8 | |||
9 | DESCRIPTION="GNU locale utilities." | ||
10 | HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= dev-libs/libxml2-2.9 | ||
14 | >= sys-libs/libgomp-4.8 | ||
15 | >= sys-libs/libstdc++-4.8 | ||
16 | >= sys-libs/ncurses-5.9" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude multilib mtools | ||
22 | |||
23 | SRC_URI=( | ||
24 | gnu://${PNAME}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | UP2DATE="updatecmd_gnu ${PNAME} gz" | ||
29 | |||
30 | src_compile() | ||
31 | { | ||
32 | # use included libcroco and glib2 to not depend on external glib2 | ||
33 | mconfigure \ | ||
34 | --without-emacs \ | ||
35 | --disable-java \ | ||
36 | --with-included-glib \ | ||
37 | --with-included-libcroco \ | ||
38 | || die | ||
39 | |||
40 | mmake || die | ||
41 | } | ||
42 | |||
43 | src_install() | ||
44 | { | ||
45 | mmake DESTDIR=${BINDIR} install || die | ||
46 | |||
47 | # clean up stuff (needs to many space) | ||
48 | mdelete -r /usr/share/doc/${PNAME} || die | ||
49 | minstalldocs AUTHORS COPYING ChangeLog* PACKAGING README THANKS || die | ||
50 | } |