wok-next view libgooglepinyin/receipt @ rev 17916

fontforge: add desktop integration, remove included fonts.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 09 10:20:05 2015 +0300 (2015-04-09)
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 }