wok-next view scim-tables/receipt @ rev 19932
xfce4-session: update bdeps, wbar2: add CXXFLAGS, libsmpeg: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 11:37:03 2017 +0200 (2017-10-15) |
parents | 20b9600c7f0c |
children | d5aab818505e |
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="rocky@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 scim-dev"
15 SPLIT="scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh \
16 scim-tables-dev scim-tables-additional"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./bootstrap &&
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 scim-tables)
35 DEPENDS="scim $SPLIT"
36 ;;
37 *-base)
38 copy *.so*
39 CAT="x-window|base module"
40 DEPENDS="scim"
41 ;;
42 *-ja)
43 copy HIRAGANA.* KATAKANA.* Nippon.*
44 CAT="x-window|Japanese data"
45 DEPENDS="scim-tables-base"
46 ;;
47 *-ko)
48 copy Hangul.* HangulRomaja.* Hanja.*
49 CAT="x-window|Korean data"
50 DEPENDS="scim-tables-base"
51 ;;
52 *-zh)
53 copy Array30.* CangJie5.* CangJie.* CangJie3.* Cantonese.* \
54 CantonHK.* CNS11643.* Dayi3.* Erbi.* Erbi-QS.* EZ-Big.* \
55 Jyutping.* Quick.* Simplex.* Stroke5.* Wu.* Wubi.* Ziranma.* \
56 ZhuYin.* ZhuYin-Big.*
57 CAT="x-window|Chinese data"
58 DEPENDS="scim-tables-base wqy-bitmapfont"
59 ;;
60 *-dev)
61 copy @dev scim-make-table
62 ;;
63 *-additional)
64 copy scim/
65 for i in $taz/*/files.list; do
66 while read j; do
67 [ -e "$fs$j" ] && rm $fs$j
68 done < $i
69 done
70 CAT="x-window|miscellaneous data"
71 DEPENDS="scim-tables-base"
72 ;;
73 esac
74 }