Magellan Linux

Annotation of /smage/branches/alx07x-stable/core/gettext/gettext-0.21-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14986 - (hide annotations) (download)
Thu Aug 6 13:00:25 2020 UTC (3 years, 9 months ago) by niro
File size: 940 byte(s)
-release branches/alx07x-stable
1 niro 14449 # $Id$
2    
3     PNAME="gettext"
4     PVER="0.21"
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-8.4
15     >= sys-libs/libstdc++-8.4
16     >= sys-libs/ncurses-6.2"
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     }