wok-6.x view libgooglepinyin/receipt @ rev 23087
updated libmicrohttpd and libmicrohttpd-dev (0.9.63 -> 0.9.70)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 11 09:16:20 2020 +0100 (2020-03-11) |
parents | 73ead125eaf1 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgooglepinyin"
4 VERSION="0.1.2"
5 CATEGORY="development"
6 SHORT_DESC="A fork from google pinyin on android."
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://github.com/promisejohn/libgooglepinyin"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="cairo-dev cmake gtk+-dev intltool pango-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $install/usr/share/googlepinyin
22 mkdir -p $src/build
23 cd $src/build
24 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
25 cd $src
26 make -C build || return 1
27 make install/fast -C build DESTDIR=$DESTDIR
29 cp -a $src/build/data/dict_pinyin.dat $install/usr/share/googlepinyin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 mkdir -p $fs/usr/share
38 cp -a $install/usr/lib/libgooglepinyin.so* $fs/usr/lib
39 cp -a $install/usr/share/googlepinyin $fs/usr/share
40 }