wok-next view libgooglepinyin/receipt @ rev 17408

Up wireshark (1.10.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 21:18:51 2014 +0100 (2014-11-28)
parents 8f447cf2eee5
children 16a417e1e89d
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="lufeng369@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://code.google.com/p/libgooglepinyin/"
11 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $src/build
20 cd $src/build
21 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
22 cd $src
23 make -C build || return 1
24 make install/fast -C build DESTDIR=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/ $fs/usr/share/
31 cp -a $install/usr/lib/libgooglepinyin.so* $fs/usr/lib/
32 cp -a $install/usr/share/googlepinyin/ $fs/usr/share/
33 }