wok-current view gettext/receipt @ rev 2745
Up: gettext (0.17) + add gettext-base to use .po for translation in SHell script
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 26 00:40:52 2009 +0200 (2009-04-26) |
parents | 987853b8719d |
children | 583bdd691510 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.17"
5 CATEGORY="development"
6 SHORT_DESC="Utilities for the GNU Translation Project."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="gettext-base libgomp"
10 WEB_SITE="http://www.gnu.org/software/gettext/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/include $fs/usr
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 cp -a $_pkg/usr/share/gettext $fs/usr/share
32 # Remove gettext-base files.
33 rm $fs/usr/bin/gettext
34 rm $fs/usr/bin/gettext.sh
35 }