wok-next view libgooglepinyin/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://github.com/promisejohn/libgooglepinyin"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL" # FIXME
14 BUILD_DEPENDS="cmake"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 .. &&
23 make &&
24 make install/fast DESTDIR=$install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgooglepinyin) copy @std;;
30 *-dev) copy @dev;;
31 esac
32 }