wok-4.x diff libgooglepinyin/receipt @ 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 | |
children | 3af70ef3a7ac |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libgooglepinyin/receipt Tue Sep 20 20:37:05 2011 +0800 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libgooglepinyin" 1.7 +VERSION="0.1.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A fork from google pinyin on android" 1.10 +MAINTAINER="liupeng <hipeng@yahoo.com>" 1.11 +BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc" 1.12 +DEPENDS="" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://code.google.com/p/libgooglepinyin/" 1.15 +WGET_URL="http://libgooglepinyin.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 11 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/lib/ $fs/usr/share/ 1.33 + cp -a $_pkg/usr/lib/libgooglepinyin.so* $fs/usr/lib/ 1.34 + cp -a $_pkg/usr/share/googlepinyin/ $fs/usr/share/ 1.35 +}