wok view libgooglepinyin/receipt @ rev 17902
gtk-clearlooks:fix terminal errors with default themes. mc: fix lzma.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Apr 03 21:04:30 2015 +0200 (2015-04-03) |
parents | 8f447cf2eee5 |
children | eeba7ab1dffe |
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 }