# HG changeset patch # User Liu Peng # Date 1245732430 -28800 # Node ID 2b2c37045605b9bc566e6992f6efa5728268fbca # Parent 76fb04b9a771a43d9fd2b4132b33c994d1c32359 Add scim-tables diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-additional/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-additional/receipt Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="scim-tables-additional" +VERSION="0.5.9" +CATEGORY="x-window" +SHORT_DESC="Miscellaneous input method data tables for SCIM platform." +MAINTAINER="rocky@slitaz.org" +DEPENDS="scim-tables-base" +WANTED="scim-tables" +WEB_SITE="http://www.scim-im.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr/share/scim $fs + + # Rm ja files. + echo -n "Removing all ja files..." + for file in `cat $WOK/scim-tables-ja/taz/scim-tables-ja-$VERSION/files.list` + do + rm -f ${fs}$file + done + status + + # Rm ko files. + echo -n "Removing all ko files..." + for file in `cat $WOK/scim-tables-ko/taz/scim-tables-ko-$VERSION/files.list` + do + rm -f ${fs}$file + done + status + + # Rm zh files. + echo -n "Removing all zh files..." + for file in `cat $WOK/scim-tables-zh/taz/scim-tables-zh-$VERSION/files.list` + do + rm -f ${fs}$file + done + status +} diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-base/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-base/receipt Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="scim-tables-base" +VERSION="0.5.9" +CATEGORY="x-window" +SHORT_DESC="SCIM Generic Table Input Method base module." +MAINTAINER="rocky@slitaz.org" +DEPENDS="scim" +WANTED="scim-tables" +WEB_SITE="http://www.scim-im.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr + find $fs/usr/lib -name '*.la' -exec rm {} \; +} diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-ja/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-ja/receipt Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="scim-tables-ja" +VERSION="0.5.9" +CATEGORY="x-window" +SHORT_DESC="Japanese input method data tables for SCIM platform." +MAINTAINER="rocky@slitaz.org" +DEPENDS="scim-tables-base" +WANTED="scim-tables" +WEB_SITE="http://www.scim-im.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/scim/icons $fs/usr/share/scim/tables + for file in `cat stuff/wanted-files.list` + do + cp -a ${_pkg}$file ${fs}$file + done +} diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-ja/stuff/wanted-files.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-ja/stuff/wanted-files.list Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,6 @@ +/usr/share/scim/tables/HIRAGANA.bin +/usr/share/scim/tables/KATAKANA.bin +/usr/share/scim/tables/Nippon.bin +/usr/share/scim/icons/HIRAGANA.png +/usr/share/scim/icons/KATAKANA.png +/usr/share/scim/icons/Nippon.png diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-ko/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-ko/receipt Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="scim-tables-ko" +VERSION="0.5.9" +CATEGORY="x-window" +SHORT_DESC="Korean input method data tables for SCIM platform." +MAINTAINER="rocky@slitaz.org" +DEPENDS="scim-tables-base" +WANTED="scim-tables" +WEB_SITE="http://www.scim-im.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/scim/icons $fs/usr/share/scim/tables + for file in `cat stuff/wanted-files.list` + do + cp -a ${_pkg}$file ${fs}$file + done +} diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-ko/stuff/wanted-files.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-ko/stuff/wanted-files.list Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,5 @@ +/usr/share/scim/tables/Hangul.bin +/usr/share/scim/tables/HangulRomaja.bin +/usr/share/scim/tables/Hanja.bin +/usr/share/scim/icons/Hangul.png +/usr/share/scim/icons/Hanja.png diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-zh/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-zh/receipt Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="scim-tables-zh" +VERSION="0.5.9" +CATEGORY="x-window" +SHORT_DESC="Chinese input method data tables for SCIM platform." +MAINTAINER="rocky@slitaz.org" +DEPENDS="scim-tables-base wqy-bitmapfont" +WANTED="scim-tables" +WEB_SITE="http://www.scim-im.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/scim/icons $fs/usr/share/scim/tables + for file in `cat stuff/wanted-files.list` + do + cp -a ${_pkg}$file ${fs}$file + done +} diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables-zh/stuff/wanted-files.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables-zh/stuff/wanted-files.list Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,38 @@ +/usr/share/scim/tables/Array30.bin +/usr/share/scim/tables/CangJie5.bin +/usr/share/scim/tables/CangJie.bin +/usr/share/scim/tables/CangJie3.bin +/usr/share/scim/tables/Cantonese.bin +/usr/share/scim/tables/CantonHK.bin +/usr/share/scim/tables/CNS11643.bin +/usr/share/scim/tables/Dayi3.bin +/usr/share/scim/tables/Erbi.bin +/usr/share/scim/tables/Erbi-QS.bin +/usr/share/scim/tables/EZ-Big.bin +/usr/share/scim/tables/Jyutping.bin +/usr/share/scim/tables/Quick.bin +/usr/share/scim/tables/Simplex.bin +/usr/share/scim/tables/Stroke5.bin +/usr/share/scim/tables/Wu.bin +/usr/share/scim/tables/Wubi.bin +/usr/share/scim/tables/Ziranma.bin +/usr/share/scim/tables/ZhuYin.bin +/usr/share/scim/tables/ZhuYin-Big.bin +/usr/share/scim/icons/Array30.png +/usr/share/scim/icons/CangJie.png +/usr/share/scim/icons/CangJie3.png +/usr/share/scim/icons/Cantonese.png +/usr/share/scim/icons/CantonHK.png +/usr/share/scim/icons/CNS11643.png +/usr/share/scim/icons/Dayi.png +/usr/share/scim/icons/Erbi.png +/usr/share/scim/icons/Erbi-QS.png +/usr/share/scim/icons/EZ.png +/usr/share/scim/icons/Jyutping.png +/usr/share/scim/icons/Quick.png +/usr/share/scim/icons/Simplex.png +/usr/share/scim/icons/Stroke5.png +/usr/share/scim/icons/Wu.png +/usr/share/scim/icons/Wubi.png +/usr/share/scim/icons/Ziranma.png +/usr/share/scim/icons/ZhuYin.png diff -r 76fb04b9a771 -r 2b2c37045605 scim-tables/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scim-tables/receipt Tue Jun 23 12:47:10 2009 +0800 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="scim-tables" +VERSION="0.5.9" +CATEGORY="meta" +SHORT_DESC="SCIM Generic Table Input Method module meta package." +MAINTAINER="rocky@slitaz.org" +DEPENDS="scim scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh scim-tables-additional" +BUILD_DEPENDS="scim-dev expat-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.scim-im.org/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +LOCALE="" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/var + for i in base ja ko zh additional + do + tazwok genpkg $PACKAGE-$i + done +} + +clean_wok() +{ + for i in base ja ko zh additional + do + tazwok clean $PACKAGE-$i + done +}