wok-next annotate libgooglepinyin/receipt @ rev 21286
updated gnuradio (3.7.8 -> 3.8.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Dec 08 11:42:09 2019 +0100 (2019-12-08) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20344 | 1 # SliTaz package receipt v2. |
hipeng@10960 | 2 |
hipeng@10960 | 3 PACKAGE="libgooglepinyin" |
hipeng@10960 | 4 VERSION="0.1.1" |
hipeng@10960 | 5 CATEGORY="development" |
hipeng@10960 | 6 SHORT_DESC="A fork from google pinyin on android" |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15473 | 8 LICENSE="Apache" |
pascal@21157 | 9 WEB_SITE="https://github.com/promisejohn/libgooglepinyin" |
al@20344 | 10 |
hipeng@10960 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20906 | 12 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL" # FIXME |
hipeng@10960 | 13 |
al@20344 | 14 BUILD_DEPENDS="cmake" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@15473 | 16 |
al@20344 | 17 compile_rules() { |
al@20344 | 18 mkdir build |
al@20344 | 19 cd build |
al@20344 | 20 cmake \ |
al@20344 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20344 | 22 .. && |
al@20344 | 23 make && |
al@21020 | 24 make install/fast DESTDIR=$install |
hipeng@10960 | 25 } |
hipeng@10960 | 26 |
al@20344 | 27 genpkg_rules() { |
al@20344 | 28 case $PACKAGE in |
al@20344 | 29 libgooglepinyin) copy @std;; |
al@20344 | 30 *-dev) copy @dev;; |
al@20344 | 31 esac |
hipeng@10960 | 32 } |