wok-next annotate libgooglepinyin/receipt @ rev 20908

bzip2: update home page and source URL (thanks shann); domain bzip.org is suspended now...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 12 04:53:45 2018 +0300 (2018-08-12)
parents 16a417e1e89d
children d5aab818505e
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"
al@20906 9 WEB_SITE="https://code.google.com/archive/p/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@20344 15 SPLIT="libgooglepinyin-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@20344 24 make install/fast DESTDIR=$DESTDIR
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 }