wok-stable annotate gettext/receipt @ rev 702
Up: dropbear (0.51)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 01 21:03:01 2008 +0000 (2008-05-01) |
parents | 3169dbe810b0 |
children | 987853b8719d |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gettext" |
pankso@29 | 4 VERSION="0.16.1" |
pankso@204 | 5 CATEGORY="development" |
pankso@29 | 6 SHORT_DESC="Utilities for the GNU Translation Project." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@29 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@29 | 9 WEB_SITE="http://www.gnu.org/software/gettext/" |
pankso@29 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@29 | 11 |
pankso@29 | 12 # Rules to configure and make the package. |
pankso@29 | 13 compile_rules() |
pankso@29 | 14 { |
pankso@29 | 15 cd $src |
pankso@29 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@29 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@29 | 18 make |
pankso@29 | 19 make DESTDIR=$PWD/_pkg install |
pankso@29 | 20 } |
pankso@29 | 21 |
pankso@29 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 23 genpkg_rules() |
pankso@29 | 24 { |
pankso@29 | 25 mkdir -p $fs/usr/share/locale |
pankso@29 | 26 cp -a $_pkg/usr/bin $fs/usr |
pankso@29 | 27 cp -a $_pkg/usr/lib $fs/usr |
pankso@29 | 28 cp -a $_pkg/usr/include $fs/usr |
pankso@29 | 29 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@29 | 30 strip -s $fs/usr/lib/*.so* |
pankso@29 | 31 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@29 | 32 cp -a $_pkg/usr/share/gettext $fs/usr/share |
pankso@29 | 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@29 | 34 } |