wok-6.x annotate gettext/receipt @ rev 17843
cups-filters: add pkg files bdeps
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Mar 23 23:26:13 2015 -0400 (2015-03-23) |
parents | 9e41e0f90e23 |
children | dab94fc8b27a |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gettext" |
devl547@17662 | 4 VERSION="0.19.4" |
pankso@204 | 5 CATEGORY="development" |
pankso@29 | 6 SHORT_DESC="Utilities for the GNU Translation Project." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
al@14903 | 8 LICENSE="GPL3" |
pankso@29 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@29 | 10 WEB_SITE="http://www.gnu.org/software/gettext/" |
pankso@29 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@12830 | 12 HOST_ARCH="i486 arm" |
pankso@29 | 13 |
pankso@12830 | 14 # Why deps on glib-dev ??? And glib build depends on gettext anyway... |
pascal@15612 | 15 DEPENDS="gettext-base libgomp acl-dev gcc-lib-base glib-dev libxml2-dev m4 \ |
pascal@15612 | 16 ncurses" |
al@14903 | 17 BUILD_DEPENDS="acl attr-dev glib-dev libxml2-dev ncurses-dev" |
pankso@12147 | 18 |
pankso@12830 | 19 # Handle cross compilation. Glibc-locale are installed in cross chroot. |
pankso@12830 | 20 case "$ARCH" in |
pankso@12833 | 21 arm) BUILD_DEPENDS="ncurses-dev libxml2-tools libxml2-dev" ;; |
pankso@12830 | 22 esac |
gokhlayeh@8184 | 23 |
pankso@29 | 24 # Rules to configure and make the package. |
pankso@29 | 25 compile_rules() |
pankso@29 | 26 { |
pankso@29 | 27 cd $src |
pankso@12830 | 28 ./configure $CONFIGURE_ARGS && |
pankso@12830 | 29 make && make install |
pankso@29 | 30 } |
pankso@29 | 31 |
pankso@29 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 33 genpkg_rules() |
pankso@29 | 34 { |
pankso@2745 | 35 mkdir -p $fs/usr/share |
pankso@12830 | 36 cp -a $install/usr/bin $fs/usr |
pankso@12830 | 37 cp -a $install/usr/lib $fs/usr |
pankso@12830 | 38 cp -a $install/usr/include $fs/usr |
pankso@12830 | 39 cp -a $install/usr/share/aclocal $fs/usr/share |
pankso@12830 | 40 cp -a $install/usr/share/gettext $fs/usr/share |
pankso@2745 | 41 # Remove gettext-base files. |
pankso@2745 | 42 rm $fs/usr/bin/gettext |
pankso@2745 | 43 rm $fs/usr/bin/gettext.sh |
slaxemulator@6808 | 44 rm $fs/usr/bin/envsubst |
slaxemulator@6808 | 45 rm $fs/usr/bin/ngettext |
pankso@12147 | 46 } |