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

Up: net6 (1.3.10) fix build with new gnutls package
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 28 21:26:33 2009 +0200 (2009-09-28)
parents 2c6127131441
children 5922a819b2eb
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 ncurses glib"
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 }