wok rev 10960
Add: libgooglepinyin, fcitx-googlepinyin
author | Liu Peng <hipeng@yahoo.com> |
---|---|
date | Tue Sep 20 20:37:05 2011 +0800 (2011-09-20) |
parents | be1fa6a49b59 |
children | 66ba59187c47 |
files | fcitx-googlepinyin/receipt libgooglepinyin-dev/receipt libgooglepinyin/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fcitx-googlepinyin/receipt Tue Sep 20 20:37:05 2011 +0800 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fcitx-googlepinyin" 1.7 +VERSION="0.1.2" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Googlepinyin Wrapper for Fcitx" 1.10 +MAINTAINER="liupeng <hipeng@yahoo.com>" 1.11 +DEPENDS="fcitx libgooglepinyin" 1.12 +BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://code.google.com/p/fcitx" 1.15 +WGET_URL="http://fcitx.googlecode.com/files/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + mkdir build 1.22 + pushd build 1.23 + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 1 1.24 + popd 1.25 + make -C build || return 1 1.26 + make install/fast -C build DESTDIR=$PWD/_pkg 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/ 1.33 + cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/ 1.34 + cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/ 1.35 + cp -a $_pkg/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/ 1.36 +} 1.37 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libgooglepinyin-dev/receipt Tue Sep 20 20:37:05 2011 +0800 2.3 @@ -0,0 +1,19 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libgooglepinyin-dev" 2.7 +VERSION="0.1.1" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="A fork from google pinyin on android" 2.10 +MAINTAINER="liupeng <hipeng@yahoo.com>" 2.11 +DEPENDS="libgooglepinyin" 2.12 +WEB_SITE="http://code.google.com/p/libgooglepinyin/" 2.13 +WANTED="libgooglepinyin" 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/lib/pkgconfig/ 2.19 + cp -a $_pkg/usr/include/ $fs/usr/ 2.20 + cp -a $_pkg/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/ 2.21 + cp -a $_pkg/usr/share/ $fs/usr/ 2.22 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libgooglepinyin/receipt Tue Sep 20 20:37:05 2011 +0800 3.3 @@ -0,0 +1,32 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="libgooglepinyin" 3.7 +VERSION="0.1.1" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="A fork from google pinyin on android" 3.10 +MAINTAINER="liupeng <hipeng@yahoo.com>" 3.11 +BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc" 3.12 +DEPENDS="" 3.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.14 +WEB_SITE="http://code.google.com/p/libgooglepinyin/" 3.15 +WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL" 3.16 + 3.17 +# Rules to configure and make the package. 3.18 +compile_rules() 3.19 +{ 3.20 + cd $src 3.21 + mkdir build 3.22 + pushd build 3.23 + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 11 3.24 + popd 3.25 + make -C build || return 1 3.26 + make install/fast -C build DESTDIR=$PWD/_pkg 3.27 +} 3.28 + 3.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.30 +genpkg_rules() 3.31 +{ 3.32 + mkdir -p $fs/usr/lib/ $fs/usr/share/ 3.33 + cp -a $_pkg/usr/lib/libgooglepinyin.so* $fs/usr/lib/ 3.34 + cp -a $_pkg/usr/share/googlepinyin/ $fs/usr/share/ 3.35 +}