wok-next view libgooglepinyin/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | a3c581bf52b8 |
children | 69bb65a67c90 |
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://code.google.com/archive/p/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 }