wok view libgooglepinyin/receipt @ rev 23037
updated WANTED=libgooglepinyin and libgnome-keyring-dev (2.32.0 -> 3.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 04 09:22:00 2020 +0100 (2020-03-04) |
parents | ad40252740a7 |
children | 73ead125eaf1 |
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 gcc gtk+-dev intltool pango-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $install/usr/share/libgooglepinyin
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/libgooglepinyin
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 }