wok-next view libgooglepinyin/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 8d64ce80ab95 |
children | a3c581bf52b8 |
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="http://code.google.com/p/libgooglepinyin/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="cmake"
15 SPLIT="libgooglepinyin-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=$DESTDIR
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgooglepinyin) copy @std;;
30 *-dev) copy @dev;;
31 esac
32 }