wok rev 3549
Add scim-tables
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Jun 23 12:47:10 2009 +0800 (2009-06-23) |
parents | 76fb04b9a771 |
children | 6e4432a1f402 |
files | scim-tables-additional/receipt scim-tables-base/receipt scim-tables-ja/receipt scim-tables-ja/stuff/wanted-files.list scim-tables-ko/receipt scim-tables-ko/stuff/wanted-files.list scim-tables-zh/receipt scim-tables-zh/stuff/wanted-files.list scim-tables/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/scim-tables-additional/receipt Tue Jun 23 12:47:10 2009 +0800 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="scim-tables-additional" 1.7 +VERSION="0.5.9" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Miscellaneous input method data tables for SCIM platform." 1.10 +MAINTAINER="rocky@slitaz.org" 1.11 +DEPENDS="scim-tables-base" 1.12 +WANTED="scim-tables" 1.13 +WEB_SITE="http://www.scim-im.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs 1.19 + cp -a $_pkg/usr/share/scim $fs 1.20 + 1.21 + # Rm ja files. 1.22 + echo -n "Removing all ja files..." 1.23 + for file in `cat $WOK/scim-tables-ja/taz/scim-tables-ja-$VERSION/files.list` 1.24 + do 1.25 + rm -f ${fs}$file 1.26 + done 1.27 + status 1.28 + 1.29 + # Rm ko files. 1.30 + echo -n "Removing all ko files..." 1.31 + for file in `cat $WOK/scim-tables-ko/taz/scim-tables-ko-$VERSION/files.list` 1.32 + do 1.33 + rm -f ${fs}$file 1.34 + done 1.35 + status 1.36 + 1.37 + # Rm zh files. 1.38 + echo -n "Removing all zh files..." 1.39 + for file in `cat $WOK/scim-tables-zh/taz/scim-tables-zh-$VERSION/files.list` 1.40 + do 1.41 + rm -f ${fs}$file 1.42 + done 1.43 + status 1.44 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/scim-tables-base/receipt Tue Jun 23 12:47:10 2009 +0800 2.3 @@ -0,0 +1,18 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="scim-tables-base" 2.7 +VERSION="0.5.9" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="SCIM Generic Table Input Method base module." 2.10 +MAINTAINER="rocky@slitaz.org" 2.11 +DEPENDS="scim" 2.12 +WANTED="scim-tables" 2.13 +WEB_SITE="http://www.scim-im.org/" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + mkdir -p $fs/usr 2.19 + cp -a $_pkg/usr/lib $fs/usr 2.20 + find $fs/usr/lib -name '*.la' -exec rm {} \; 2.21 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/scim-tables-ja/receipt Tue Jun 23 12:47:10 2009 +0800 3.3 @@ -0,0 +1,20 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="scim-tables-ja" 3.7 +VERSION="0.5.9" 3.8 +CATEGORY="x-window" 3.9 +SHORT_DESC="Japanese input method data tables for SCIM platform." 3.10 +MAINTAINER="rocky@slitaz.org" 3.11 +DEPENDS="scim-tables-base" 3.12 +WANTED="scim-tables" 3.13 +WEB_SITE="http://www.scim-im.org/" 3.14 + 3.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 +genpkg_rules() 3.17 +{ 3.18 + mkdir -p $fs/usr/share/scim/icons $fs/usr/share/scim/tables 3.19 + for file in `cat stuff/wanted-files.list` 3.20 + do 3.21 + cp -a ${_pkg}$file ${fs}$file 3.22 + done 3.23 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/scim-tables-ja/stuff/wanted-files.list Tue Jun 23 12:47:10 2009 +0800 4.3 @@ -0,0 +1,6 @@ 4.4 +/usr/share/scim/tables/HIRAGANA.bin 4.5 +/usr/share/scim/tables/KATAKANA.bin 4.6 +/usr/share/scim/tables/Nippon.bin 4.7 +/usr/share/scim/icons/HIRAGANA.png 4.8 +/usr/share/scim/icons/KATAKANA.png 4.9 +/usr/share/scim/icons/Nippon.png
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/scim-tables-ko/receipt Tue Jun 23 12:47:10 2009 +0800 5.3 @@ -0,0 +1,20 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="scim-tables-ko" 5.7 +VERSION="0.5.9" 5.8 +CATEGORY="x-window" 5.9 +SHORT_DESC="Korean input method data tables for SCIM platform." 5.10 +MAINTAINER="rocky@slitaz.org" 5.11 +DEPENDS="scim-tables-base" 5.12 +WANTED="scim-tables" 5.13 +WEB_SITE="http://www.scim-im.org/" 5.14 + 5.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.16 +genpkg_rules() 5.17 +{ 5.18 + mkdir -p $fs/usr/share/scim/icons $fs/usr/share/scim/tables 5.19 + for file in `cat stuff/wanted-files.list` 5.20 + do 5.21 + cp -a ${_pkg}$file ${fs}$file 5.22 + done 5.23 +}
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/scim-tables-ko/stuff/wanted-files.list Tue Jun 23 12:47:10 2009 +0800 6.3 @@ -0,0 +1,5 @@ 6.4 +/usr/share/scim/tables/Hangul.bin 6.5 +/usr/share/scim/tables/HangulRomaja.bin 6.6 +/usr/share/scim/tables/Hanja.bin 6.7 +/usr/share/scim/icons/Hangul.png 6.8 +/usr/share/scim/icons/Hanja.png
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/scim-tables-zh/receipt Tue Jun 23 12:47:10 2009 +0800 7.3 @@ -0,0 +1,20 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="scim-tables-zh" 7.7 +VERSION="0.5.9" 7.8 +CATEGORY="x-window" 7.9 +SHORT_DESC="Chinese input method data tables for SCIM platform." 7.10 +MAINTAINER="rocky@slitaz.org" 7.11 +DEPENDS="scim-tables-base wqy-bitmapfont" 7.12 +WANTED="scim-tables" 7.13 +WEB_SITE="http://www.scim-im.org/" 7.14 + 7.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.16 +genpkg_rules() 7.17 +{ 7.18 + mkdir -p $fs/usr/share/scim/icons $fs/usr/share/scim/tables 7.19 + for file in `cat stuff/wanted-files.list` 7.20 + do 7.21 + cp -a ${_pkg}$file ${fs}$file 7.22 + done 7.23 +}
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/scim-tables-zh/stuff/wanted-files.list Tue Jun 23 12:47:10 2009 +0800 8.3 @@ -0,0 +1,38 @@ 8.4 +/usr/share/scim/tables/Array30.bin 8.5 +/usr/share/scim/tables/CangJie5.bin 8.6 +/usr/share/scim/tables/CangJie.bin 8.7 +/usr/share/scim/tables/CangJie3.bin 8.8 +/usr/share/scim/tables/Cantonese.bin 8.9 +/usr/share/scim/tables/CantonHK.bin 8.10 +/usr/share/scim/tables/CNS11643.bin 8.11 +/usr/share/scim/tables/Dayi3.bin 8.12 +/usr/share/scim/tables/Erbi.bin 8.13 +/usr/share/scim/tables/Erbi-QS.bin 8.14 +/usr/share/scim/tables/EZ-Big.bin 8.15 +/usr/share/scim/tables/Jyutping.bin 8.16 +/usr/share/scim/tables/Quick.bin 8.17 +/usr/share/scim/tables/Simplex.bin 8.18 +/usr/share/scim/tables/Stroke5.bin 8.19 +/usr/share/scim/tables/Wu.bin 8.20 +/usr/share/scim/tables/Wubi.bin 8.21 +/usr/share/scim/tables/Ziranma.bin 8.22 +/usr/share/scim/tables/ZhuYin.bin 8.23 +/usr/share/scim/tables/ZhuYin-Big.bin 8.24 +/usr/share/scim/icons/Array30.png 8.25 +/usr/share/scim/icons/CangJie.png 8.26 +/usr/share/scim/icons/CangJie3.png 8.27 +/usr/share/scim/icons/Cantonese.png 8.28 +/usr/share/scim/icons/CantonHK.png 8.29 +/usr/share/scim/icons/CNS11643.png 8.30 +/usr/share/scim/icons/Dayi.png 8.31 +/usr/share/scim/icons/Erbi.png 8.32 +/usr/share/scim/icons/Erbi-QS.png 8.33 +/usr/share/scim/icons/EZ.png 8.34 +/usr/share/scim/icons/Jyutping.png 8.35 +/usr/share/scim/icons/Quick.png 8.36 +/usr/share/scim/icons/Simplex.png 8.37 +/usr/share/scim/icons/Stroke5.png 8.38 +/usr/share/scim/icons/Wu.png 8.39 +/usr/share/scim/icons/Wubi.png 8.40 +/usr/share/scim/icons/Ziranma.png 8.41 +/usr/share/scim/icons/ZhuYin.png
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/scim-tables/receipt Tue Jun 23 12:47:10 2009 +0800 9.3 @@ -0,0 +1,43 @@ 9.4 +# SliTaz package receipt. 9.5 + 9.6 +PACKAGE="scim-tables" 9.7 +VERSION="0.5.9" 9.8 +CATEGORY="meta" 9.9 +SHORT_DESC="SCIM Generic Table Input Method module meta package." 9.10 +MAINTAINER="rocky@slitaz.org" 9.11 +DEPENDS="scim scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh scim-tables-additional" 9.12 +BUILD_DEPENDS="scim-dev expat-dev" 9.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 9.14 +WEB_SITE="http://www.scim-im.org/" 9.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 9.16 +LOCALE="" 9.17 + 9.18 +# Rules to configure and make the package. 9.19 +compile_rules() 9.20 +{ 9.21 + cd $src 9.22 + ./configure --prefix=/usr \ 9.23 + --mandir=/usr/share/man \ 9.24 + --disable-static \ 9.25 + $CONFIGURE_ARGS && 9.26 + make && 9.27 + make DESTDIR=$PWD/_pkg install 9.28 +} 9.29 + 9.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 9.31 +genpkg_rules() 9.32 +{ 9.33 + mkdir -p $fs/var 9.34 + for i in base ja ko zh additional 9.35 + do 9.36 + tazwok genpkg $PACKAGE-$i 9.37 + done 9.38 +} 9.39 + 9.40 +clean_wok() 9.41 +{ 9.42 + for i in base ja ko zh additional 9.43 + do 9.44 + tazwok clean $PACKAGE-$i 9.45 + done 9.46 +}