wok diff fcitx-googlepinyin/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/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 +