wok-next view scim-tables/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 9278a60d6895
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="scim-tables"
4 VERSION="0.5.14.1"
5 CATEGORY="meta"
6 SHORT_DESC="SCIM Tables"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/scim-im/scim-tables"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$TARBALL"
14 BUILD_DEPENDS="automake libtool intltool gettext-dev scim-dev"
15 SPLIT="scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh \
16 scim-tables-dev scim-tables-additional"
18 compile_rules() {
19 ./bootstrap &&
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 scim-tables)
31 DEPENDS="scim $SPLIT"
32 ;;
33 *-base)
34 copy *.so*
35 CAT="x-window|base module"
36 DEPENDS="scim"
37 ;;
38 *-ja)
39 copy HIRAGANA.* KATAKANA.* Nippon.*
40 CAT="x-window|Japanese data"
41 DEPENDS="scim-tables-base"
42 ;;
43 *-ko)
44 copy Hangul.* HangulRomaja.* Hanja.*
45 CAT="x-window|Korean data"
46 DEPENDS="scim-tables-base"
47 ;;
48 *-zh)
49 copy Array30.* CangJie5.* CangJie.* CangJie3.* Cantonese.* \
50 CantonHK.* CNS11643.* Dayi3.* Erbi.* Erbi-QS.* EZ-Big.* \
51 Jyutping.* Quick.* Simplex.* Stroke5.* Wu.* Wubi.* Ziranma.* \
52 ZhuYin.* ZhuYin-Big.*
53 CAT="x-window|Chinese data"
54 DEPENDS="scim-tables-base wqy-bitmapfont"
55 ;;
56 *-dev)
57 copy @dev scim-make-table
58 ;;
59 *-additional)
60 copy scim/
61 for i in $taz/*/files.list; do
62 while read j; do
63 [ -e "$fs$j" ] && rm $fs$j
64 done < $i
65 done
66 CAT="x-window|miscellaneous data"
67 DEPENDS="scim-tables-base"
68 ;;
69 esac
70 }