wok-stable view gettext/receipt @ rev 12431
gnutls: CVE-2014-0092 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 10 15:55:29 2014 +0000 (2014-03-10) |
parents | 9c5e2fdf739d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.18.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Utilities for the GNU Translation Project."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/gettext/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="gettext-base libgomp ncurses gcc-lib-base glib libxml2"
13 BUILD_DEPENDS="glibc-locale ncurses-dev glib-dev libxml2-dev"
15 # Rules to compile & install the temporary toolchain.
16 cook_tmp_toolchain()
17 {
18 cd $src/gettext-tools
19 ./configure --disable-shared &&
20 make -C gnulib-lib &&
21 make -C src msgfmt &&
22 cp -a src/msgfmt /tools/bin &&
23 cd ../gettext-runtime &&
24 ./configure --disable-shared &&
25 make -C gnulib-lib &&
26 make -C src envsubst &&
27 make -C src gettext &&
28 make -C src ngettext &&
29 cp -a src/envsubst src/gettext src/gettext.sh src/ngettext /tools/bin
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 cd $src
36 ./configure $CONFIGURE_ARGS && make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/lib $fs/usr
45 cp -a $_pkg/usr/include $fs/usr
46 cp -a $_pkg/usr/share/aclocal $fs/usr/share
47 cp -a $_pkg/usr/share/gettext $fs/usr/share
48 # Remove gettext-base files.
49 rm $fs/usr/bin/gettext
50 rm $fs/usr/bin/gettext.sh
51 rm $fs/usr/bin/envsubst
52 rm $fs/usr/bin/ngettext
53 }