wok-undigest rev 477

Add: fcitx, googlepinyin, opencc
author Liu Peng <hipeng@about.me>
date Tue Sep 20 01:41:58 2011 +0000 (2011-09-20)
parents b5bbf7b32608
children ad6d19244599
files fcitx-dev/receipt fcitx-googlepinyin/receipt fcitx-skin-classic/receipt fcitx-skin-dark/receipt fcitx-skin-default/receipt fcitx-tools/receipt fcitx/receipt libfcitx/receipt libgooglepinyin-dev/receipt libgooglepinyin/receipt opencc-dev/receipt opencc-tools/receipt opencc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fcitx-dev/receipt	Tue Sep 20 01:41:58 2011 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fcitx-dev"
     1.7 +VERSION="4.1.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The fcitx-dev package includes the header files for the FCITX package."
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +DEPENDS="libfcitx xorg-libX11-dev"
    1.12 +WEB_SITE="http://code.google.com/p/fcitx/"
    1.13 +WANTED="fcitx"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +    mkdir -p $fs/usr/lib/pkgconfig/ $fs/usr/share/
    1.19 +    cp -a $_pkg/usr/lib/libfcitx*.so $fs/usr/lib/
    1.20 +    cp -a $_pkg/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/
    1.21 +    cp -a $_pkg/usr/share/cmake/ $fs/usr/share/
    1.22 +    cp -a $_pkg/usr/include/ $fs/usr/
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/fcitx-googlepinyin/receipt	Tue Sep 20 01:41:58 2011 +0000
     2.3 @@ -0,0 +1,34 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="fcitx-googlepinyin"
     2.7 +VERSION="0.1.2"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Googlepinyin Wrapper for Fcitx"
    2.10 +MAINTAINER="liupeng <hipeng@about.me>"
    2.11 +DEPENDS="fcitx libgooglepinyin"
    2.12 +BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WEB_SITE="http://code.google.com/p/fcitx"
    2.15 +WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	mkdir build
    2.22 +	pushd build
    2.23 +	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 1
    2.24 +	popd
    2.25 +	make -C build || return 1
    2.26 +	make install/fast -C build DESTDIR=$PWD/_pkg
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/
    2.33 +	cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
    2.34 +	cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
    2.35 +	cp -a $_pkg/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
    2.36 +}
    2.37 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/fcitx-skin-classic/receipt	Tue Sep 20 01:41:58 2011 +0000
     3.3 @@ -0,0 +1,17 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="fcitx-skin-classic"
     3.7 +VERSION="4.1.1"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="The classic skin of fcitx."
    3.10 +MAINTAINER="devel@slitaz.org"
    3.11 +DEPENDS=""
    3.12 +WEB_SITE="http://code.google.com/p/fcitx/"
    3.13 +WANTED="fcitx"
    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/fcitx/skin/
    3.19 +    cp -a $_pkg/usr/share/fcitx/skin/classic/ $fs/usr/share/fcitx/skin/
    3.20 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/fcitx-skin-dark/receipt	Tue Sep 20 01:41:58 2011 +0000
     4.3 @@ -0,0 +1,17 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="fcitx-skin-dark"
     4.7 +VERSION="4.1.1"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="The dark skin of fcitx."
    4.10 +MAINTAINER="devel@slitaz.org"
    4.11 +DEPENDS=""
    4.12 +WEB_SITE="http://code.google.com/p/fcitx/"
    4.13 +WANTED="fcitx"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +genpkg_rules()
    4.17 +{
    4.18 +    mkdir -p $fs/usr/share/fcitx/skin/
    4.19 +    cp -a $_pkg/usr/share/fcitx/skin/dark/ $fs/usr/share/fcitx/dark/
    4.20 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/fcitx-skin-default/receipt	Tue Sep 20 01:41:58 2011 +0000
     5.3 @@ -0,0 +1,17 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="fcitx-skin-default"
     5.7 +VERSION="4.1.1"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="The default skin of fcitx."
    5.10 +MAINTAINER="devel@sliaz.org"
    5.11 +DEPENDS=""
    5.12 +WEB_SITE="http://code.google.com/p/fcitx/"
    5.13 +WANTED="fcitx"
    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/fcitx/skin/
    5.19 +    cp -a $_pkg/usr/share/fcitx/skin/default $fs/usr/share/fcitx/skin/
    5.20 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/fcitx-tools/receipt	Tue Sep 20 01:41:58 2011 +0000
     6.3 @@ -0,0 +1,23 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="fcitx-tools"
     6.7 +VERSION="4.1.1"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="The fcitx-tools package includes some tools of fcitx."
    6.10 +MAINTAINER="devel@slitaz.org"
    6.11 +DEPENDS="fcitx"
    6.12 +WEB_SITE="http://code.google.com/p/fcitx/"
    6.13 +WANTED="fcitx"
    6.14 +
    6.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.16 +genpkg_rules()
    6.17 +{
    6.18 +    mkdir -p $fs/usr/bin/
    6.19 +    cp -a $_pkg/usr/bin/createPYMB $fs/usr/bin/
    6.20 +    cp -a $_pkg/usr/bin/readPYBase $fs/usr/bin/
    6.21 +    cp -a $_pkg/usr/bin/readPYMB $fs/usr/bin/
    6.22 +    cp -a $_pkg/usr/bin/mb2org $fs/usr/bin/
    6.23 +    cp -a $_pkg/usr/bin/mb2txt $fs/usr/bin/
    6.24 +    cp -a $_pkg/usr/bin/scel2org $fs/usr/bin/
    6.25 +    cp -a $_pkg/usr/bin/txt2mb $fs/usr/bin/
    6.26 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/fcitx/receipt	Tue Sep 20 01:41:58 2011 +0000
     7.3 @@ -0,0 +1,41 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="fcitx"
     7.7 +VERSION="4.1.1"
     7.8 +CATEGORY="x-window"
     7.9 +SHORT_DESC="Free Chinese Input Toy of X, a collection of Simplified Chinese input methods for Linux."
    7.10 +MAINTAINER="liupeng <hipeng@about.me>"
    7.11 +DEPENDS="libfcitx fcitx-skin-default gtk+"
    7.12 +BUILD_DEPENDS="cmake intltool cairo-dev pango-dev gtk+-dev dbus-dev opencc-dev gcc"
    7.13 +TARBALL="$PACKAGE-${VERSION}_all.tar.bz2"
    7.14 +WEB_SITE="http://code.google.com/p/fcitx/"
    7.15 +WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
    7.16 +
    7.17 +# Rules to configure and make the package.
    7.18 +compile_rules()
    7.19 +{
    7.20 +    cd $src
    7.21 +    mkdir build
    7.22 +    pushd build
    7.23 +    cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_QT_IM_MODULE=OFF -DENABLE_GTK2_IM_MODULE=OFF -DENABLE_GTK3_IM_MODULE=OFF -DENABLE_OPENCC=ON || return 1
    7.24 +    popd
    7.25 +    make -C build || return 1
    7.26 +    make install/fast -C build DESTDIR=$PWD/_pkg
    7.27 +}
    7.28 +
    7.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.30 +genpkg_rules()
    7.31 +{
    7.32 +    mkdir -p $fs/usr/bin/ $fs/usr/share/fcitx/ $fs/usr/share/applications/
    7.33 +    cp -a $_pkg/usr/bin/fcitx $fs/usr/bin/
    7.34 +    cp -a $_pkg/usr/bin/fcitx-configtool $fs/usr/bin/
    7.35 +    cp -a $_pkg/usr/bin/fcitx-remote $fs/usr/bin/
    7.36 +    cp -a $_pkg/usr/bin/fcitx4-config $fs/usr/bin/
    7.37 +    cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
    7.38 +    cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
    7.39 +    cp -a $_pkg/usr/share/fcitx/data/ $fs/usr/share/fcitx/
    7.40 +    cp -a $_pkg/usr/share/fcitx/pinyin/ $fs/usr/share/fcitx/
    7.41 +    cp -a $_pkg/usr/share/fcitx/table/ $fs/usr/share/fcitx/
    7.42 +    cp -a $_pkg/usr/share/applications/*.desktop $fs/usr/share/applications/
    7.43 +    cp -a $_pkg/usr/share/icons/ $fs/usr/share/
    7.44 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/libfcitx/receipt	Tue Sep 20 01:41:58 2011 +0000
     8.3 @@ -0,0 +1,18 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="libfcitx"
     8.7 +VERSION="4.1.1"
     8.8 +CATEGORY="x-window"
     8.9 +SHORT_DESC="The libfcitx package provides shared libraries for FCITX."
    8.10 +MAINTAINER="devel@slitaz.org"
    8.11 +DEPENDS=""
    8.12 +WEB_SITE="http://code.google.com/p/fcitx/"
    8.13 +WANTED="fcitx"
    8.14 +
    8.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.16 +genpkg_rules()
    8.17 +{
    8.18 +    mkdir -p $fs/usr/lib/fcitx/
    8.19 +    cp -a $_pkg/usr/lib/fcitx/*.so $fs/usr/lib/fcitx/
    8.20 +    cp -a $_pkg/usr/lib/libfcitx*.so.* $fs/usr/lib/
    8.21 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/libgooglepinyin-dev/receipt	Tue Sep 20 01:41:58 2011 +0000
     9.3 @@ -0,0 +1,19 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="libgooglepinyin-dev"
     9.7 +VERSION="0.1.1"
     9.8 +CATEGORY="development"
     9.9 +SHORT_DESC="A fork from google pinyin on android"
    9.10 +MAINTAINER="liupeng <hipeng@about.me>"
    9.11 +DEPENDS="libgooglepinyin"
    9.12 +WEB_SITE="http://code.google.com/p/libgooglepinyin/"
    9.13 +WANTED="libgooglepinyin"
    9.14 +
    9.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.16 +genpkg_rules()
    9.17 +{
    9.18 +	mkdir -p $fs/usr/lib/pkgconfig/
    9.19 +	cp -a $_pkg/usr/include/ $fs/usr/
    9.20 +	cp -a $_pkg/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/
    9.21 +	cp -a $_pkg/usr/share/ $fs/usr/
    9.22 +}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/libgooglepinyin/receipt	Tue Sep 20 01:41:58 2011 +0000
    10.3 @@ -0,0 +1,32 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="libgooglepinyin"
    10.7 +VERSION="0.1.1"
    10.8 +CATEGORY="development"
    10.9 +SHORT_DESC="A fork from google pinyin on android"
   10.10 +MAINTAINER="liupeng <hipeng@about.me>"
   10.11 +BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc"
   10.12 +DEPENDS=""
   10.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   10.14 +WEB_SITE="http://code.google.com/p/libgooglepinyin/"
   10.15 +WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL"
   10.16 +
   10.17 +# Rules to configure and make the package.
   10.18 +compile_rules()
   10.19 +{
   10.20 +	cd $src
   10.21 +	mkdir build
   10.22 +	pushd build
   10.23 +	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 11
   10.24 +	popd
   10.25 +	make -C build || return 1
   10.26 +	make install/fast -C build DESTDIR=$PWD/_pkg
   10.27 +}
   10.28 +
   10.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.30 +genpkg_rules()
   10.31 +{
   10.32 +	mkdir -p $fs/usr/lib/ $fs/usr/share/
   10.33 +	cp -a $_pkg/usr/lib/libgooglepinyin.so* $fs/usr/lib/
   10.34 +	cp -a $_pkg/usr/share/googlepinyin/ $fs/usr/share/
   10.35 +}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/opencc-dev/receipt	Tue Sep 20 01:41:58 2011 +0000
    11.3 @@ -0,0 +1,19 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="opencc-dev"
    11.7 +VERSION="0.2.0"
    11.8 +CATEGORY="development"
    11.9 +SHORT_DESC="Development files for OpenCC"
   11.10 +MAINTAINER="liupeng <hipeng@about.me>"
   11.11 +DEPENDS="opencc"
   11.12 +WEB_SITE="http://code.google.com/p/opencc/"
   11.13 +WANTED="opencc"
   11.14 +
   11.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.16 +genpkg_rules()
   11.17 +{
   11.18 +	mkdir -p $fs/usr/lib/pkgconfig/
   11.19 +	cp -a $_pkg/usr/include $fs/usr
   11.20 +	cp -a $_pkg/usr/lib/*.so $fs/usr/lib/
   11.21 +	cp -a $_pkg/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/
   11.22 +}
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/opencc-tools/receipt	Tue Sep 20 01:41:58 2011 +0000
    12.3 @@ -0,0 +1,17 @@
    12.4 +# SliTaz package receipt.
    12.5 +
    12.6 +PACKAGE="opencc-tools"
    12.7 +VERSION="0.2.0"
    12.8 +CATEGORY="utilities"
    12.9 +SHORT_DESC="Command line tools for OpenCC"
   12.10 +MAINTAINER="liupeng <hipeng@about.me>"
   12.11 +DEPENDS="opencc"
   12.12 +WEB_SITE="http://code.google.com/p/opencc/"
   12.13 +WANTED="opencc"
   12.14 +
   12.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.16 +genpkg_rules()
   12.17 +{
   12.18 +	mkdir -p $fs/usr
   12.19 +	cp -a $_pkg/usr/bin $fs/usr
   12.20 +}
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/opencc/receipt	Tue Sep 20 01:41:58 2011 +0000
    13.3 @@ -0,0 +1,32 @@
    13.4 +# SliTaz package receipt.
    13.5 +
    13.6 +PACKAGE="opencc"
    13.7 +VERSION="0.2.0"
    13.8 +CATEGORY=""
    13.9 +SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion"
   13.10 +MAINTAINER="liupeng <hipeng@about.me>"
   13.11 +DEPENDS=""
   13.12 +BUILD_DEPENDS="cmake gettext"
   13.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   13.14 +WEB_SITE="http://code.google.com/p/opencc/"
   13.15 +WGET_URL="http://opencc.googlecode.com/p/files/$TARBALL"
   13.16 +
   13.17 +# Rules to configure and make the package.
   13.18 +compile_rules()
   13.19 +{
   13.20 +	cd $src
   13.21 +	mkdir build
   13.22 +	pushd build
   13.23 +	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=ON || return 1
   13.24 +	popd
   13.25 +	make -C build || return 1
   13.26 +	make install -C build DESTDIR=$PWD/_pkg
   13.27 +}
   13.28 +
   13.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
   13.30 +genpkg_rules()
   13.31 +{
   13.32 +	mkdir -p $fs/usr/lib/ $fs/usr/share/
   13.33 +	cp -a $_pkg/usr/lib/lib*.so.* $fs/usr/lib/
   13.34 +	cp -a $_pkg/usr/share/opencc/ $fs/usr/share/
   13.35 +}