wok-stable annotate gettext/receipt @ rev 5272
Up: abiword 2.8.4
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Apr 15 09:29:40 2010 -0400 (2010-04-15) |
parents | 9f19aee613be |
children | 063ab96cd9e9 |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gettext" |
pankso@2745 | 4 VERSION="0.17" |
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@5120 | 9 BUILD_DEPENDS="slitaz-toolchain glibc-locale acl gcc+gcj" |
pascal@5001 | 10 DEPENDS="gettext-base libgomp ncurses glib libcroco gcc-lib-base" |
pankso@29 | 11 WEB_SITE="http://www.gnu.org/software/gettext/" |
pankso@29 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@29 | 13 |
pankso@29 | 14 # Rules to configure and make the package. |
pankso@29 | 15 compile_rules() |
pankso@29 | 16 { |
pankso@29 | 17 cd $src |
pankso@29 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2485 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2485 | 20 make && |
pankso@29 | 21 make DESTDIR=$PWD/_pkg install |
pankso@29 | 22 } |
pankso@29 | 23 |
pankso@29 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 25 genpkg_rules() |
pankso@29 | 26 { |
pankso@2745 | 27 mkdir -p $fs/usr/share |
pankso@29 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@29 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@29 | 30 cp -a $_pkg/usr/include $fs/usr |
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@2745 | 33 # Remove gettext-base files. |
pankso@2745 | 34 rm $fs/usr/bin/gettext |
pankso@2745 | 35 rm $fs/usr/bin/gettext.sh |
pankso@29 | 36 } |