wok-next view slitaz-i18n-extra/receipt @ rev 14076
merge branches
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 22 16:34:49 2013 +0000 (2013-02-22) |
parents | 596543f7a93f |
children | eb8067417980 |
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 abiword gnumeric sylpheed gftp geany"
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-extra
26 elif [ -x /usr/bin/tazwok ]; then
27 tazwok cook locale-$i-extra
28 fi
29 done
30 mkdir -p $fs/usr
31 }