wok view gettext/receipt @ rev 2594
Up: xterm (2.4.3) [security update]
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 09 19:51:20 2009 +0200 (2009-04-09) |
parents | 17a39e4461e4 |
children | 22a4ced08bae |
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.16.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 DEPENDS="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/locale
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 strip -s $fs/usr/bin/* 2>/dev/null
31 strip -s $fs/usr/lib/*.so*
32 cp -a $_pkg/usr/share/aclocal $fs/usr/share
33 cp -a $_pkg/usr/share/gettext $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 }