wok annotate slitaz-i18n-extra/receipt @ rev 12278

ocsinventory-agnt: Fix config file
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Apr 15 14:26:19 2012 +0200 (2012-04-15)
parents 596543f7a93f
children eb8067417980
rev   line source
pankso@10751 1 # SliTaz package receipt
pankso@10751 2
pankso@10751 3 PACKAGE="slitaz-i18n-extra"
pankso@10751 4 VERSION="4.0"
pankso@10751 5 CATEGORY="meta"
pankso@10751 6 SHORT_DESC="SliTaz internationalization meta package to build extra locale pack."
pankso@10751 7 MAINTAINER="pankso@slitaz.org"
pankso@10751 8 WEB_SITE="http://www.slitaz.org/"
pankso@10751 9
pankso@10751 10 # Bdeps ensure packages are built so we can get generated po files.
pankso@10755 11 BUILD_DEPENDS="gimp mplayer xine-ui abiword gnumeric sylpheed gftp geany"
pankso@10751 12
pankso@10751 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10751 14 genpkg_rules()
pankso@10751 15 {
pankso@10755 16 . $stuff/locale-pack.conf
pankso@10751 17 for p in $EXTRA_PKGS
pankso@10751 18 do
pankso@10751 19 [ ! -d "$WOK/$p/install" ] && echo "Missing in wok: $p"
pankso@10751 20 done
pankso@10751 21 # Cook all extra locale pack.
pankso@10751 22 for i in $LOCALE_PACK
pankso@10751 23 do
pankso@10751 24 if [ -x /usr/bin/cook ]; then
pankso@10756 25 cook locale-$i-extra
pankso@10751 26 elif [ -x /usr/bin/tazwok ]; then
pankso@10756 27 tazwok cook locale-$i-extra
pankso@10751 28 fi
pankso@10751 29 done
pankso@10751 30 mkdir -p $fs/usr
pankso@10751 31 }