wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="libgooglepinyin"
4 VERSION="0.1.1"
5 CATEGORY="development"
6 SHORT_DESC="A fork from google pinyin on android"
7 MAINTAINER="liupeng <hipeng@yahoo.com>"
8 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc"
9 DEPENDS=""
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://code.google.com/p/libgooglepinyin/"
12 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir build
19 pushd build
20 cmake ../ -DCMAKE_INSTALL_PREFIX=/usr || return 11
21 popd
22 make -C build || return 1
23 make install/fast -C build DESTDIR=$PWD/_pkg
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/ $fs/usr/share/
30 cp -a $_pkg/usr/lib/libgooglepinyin.so* $fs/usr/lib/
31 cp -a $_pkg/usr/share/googlepinyin/ $fs/usr/share/
32 }