wok-stable view gettext/receipt @ rev 8227
imported patch cleanup/xvidcore.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | e198ea52ecc9 |
children | 9c5e2fdf739d |
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 BUILD_DEPENDS="glibc-locale ncurses"
10 DEPENDS="gettext-base libgomp ncurses gcc-lib-base"
11 WEB_SITE="http://www.gnu.org/software/gettext/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to compile & install the temporary toolchain.
15 cook_tmp_toolchain()
16 {
17 cd $src/gettext-tools
18 ./configure --disable-shared &&
19 make -C gnulib-lib &&
20 make -C src msgfmt &&
21 cp -a src/msgfmt /tools/bin &&
22 cd ../gettext-runtime &&
23 ./configure --disable-shared &&
24 make -C gnulib-lib &&
25 make -C src envsubst &&
26 make -C src gettext &&
27 make -C src ngettext &&
28 cp -a src/envsubst src/gettext src/gettext.sh src/ngettext /tools/bin
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 cd $src
35 ./configure && make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/lib $fs/usr
44 cp -a $_pkg/usr/include $fs/usr
45 cp -a $_pkg/usr/share/aclocal $fs/usr/share
46 cp -a $_pkg/usr/share/gettext $fs/usr/share
47 # Remove gettext-base files.
48 rm $fs/usr/bin/gettext
49 rm $fs/usr/bin/gettext.sh
50 rm $fs/usr/bin/envsubst
51 rm $fs/usr/bin/ngettext
52 }