wok-6.x view gettext/receipt @ rev 2507

Up apache (2.2.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 12:42:07 2009 +0000 (2009-03-16)
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 }