Magellan Linux

Contents of /smage/trunk/core/gettext/gettext-0.20.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13069 - (show annotations) (download)
Tue Jun 25 09:50:35 2019 UTC (4 years, 10 months ago) by niro
File size: 942 byte(s)
auto added: ver bump to 0.20.1-r1
1 # $Id$
2
3 PNAME="gettext"
4 PVER="0.20.1"
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-5.3
15 >= sys-libs/libstdc++-5.3
16 >= sys-libs/ncurses-6.0"
17
18 SRCFILE="${PNAME}-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude multilib mbuild mtools alx
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 }