wok-6.x view libgooglepinyin/receipt @ rev 20674

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 18:16:34 2019 +0100 (2019-01-24)
parents 8d64ce80ab95
children ad40252740a7
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="https://code.google.com/archive/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 }