wok-current view slitaz-i18n-extra/receipt @ rev 15187

slitaz-base-files: up 5.4.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 24 15:12:52 2013 +0300 (2013-08-24)
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 }