wok-stable view slitaz-i18n-extra/receipt @ rev 10751

Add slitaz-i18n-extra and first step with locale-fr-extra
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 19:03:21 2011 +0200 (2011-05-30)
parents
children 694a6c62534c
line source
1 # SliTaz package receipt
3 PACKAGE="slitaz-i18n-extra"
4 VERSION="4.0"
5 CATEGORY="meta"
6 SHORT_DESC="SliTaz internationalization meta package to build extra locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.slitaz.org/"
10 # Bdeps ensure packages are built so we can get generated po files.
11 BUILD_DEPENDS="gimp mplayer xine-ui"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 . $stuff/locale-pack.conf
17 for p in $EXTRA_PKGS
18 do
19 [ ! -d "$WOK/$p/install" ] && echo "Missing in wok: $p"
20 done
21 # Cook all extra locale pack.
22 for i in $LOCALE_PACK
23 do
24 if [ -x /usr/bin/cook ]; then
25 cook locale-$i
26 elif [ -x /usr/bin/tazwok ]; then
27 tazwok cook locale-$i
28 fi
29 done
30 mkdir -p $fs/usr
31 }