wok view gettext/receipt @ rev 115

Set BUILD_DEPENDS for cairo, glib, atk and gtk+
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 05 00:17:11 2008 +0100 (2008-01-05)
parents
children 17a39e4461e4
line source
1 # SliTaz package receipt.
3 PACKAGE="gettext"
4 VERSION="0.16.1"
5 CATEGORY="extra"
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 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/locale
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/include $fs/usr
29 strip -s $fs/usr/bin/* 2>/dev/null
30 strip -s $fs/usr/lib/*.so*
31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
32 cp -a $_pkg/usr/share/gettext $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 }