wok-next annotate libgooglepinyin/receipt @ rev 15473

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 09 20:47:29 2013 +0000 (2013-11-09)
parents 3af70ef3a7ac
children 8d64ce80ab95
rev   line source
hipeng@10960 1 # SliTaz package receipt.
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"
hipeng@10960 7 MAINTAINER="liupeng <hipeng@yahoo.com>"
pascal@15473 8 LICENSE="Apache"
hipeng@10960 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
hipeng@10960 10 WEB_SITE="http://code.google.com/p/libgooglepinyin/"
hipeng@10960 11 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL"
hipeng@10960 12
pascal@15473 13 DEPENDS=""
pascal@15473 14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc"
pascal@15473 15
hipeng@10960 16 # Rules to configure and make the package.
hipeng@10960 17 compile_rules()
hipeng@10960 18 {
slaxemulator@10962 19 mkdir -p $src/build
slaxemulator@10962 20 cd $src/build
slaxemulator@10962 21 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
hipeng@10960 22 cd $src
hipeng@10960 23 make -C build || return 1
slaxemulator@10962 24 make install/fast -C build DESTDIR=$DESTDIR
hipeng@10960 25 }
hipeng@10960 26
hipeng@10960 27 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@10960 28 genpkg_rules()
hipeng@10960 29 {
hipeng@10960 30 mkdir -p $fs/usr/lib/ $fs/usr/share/
pascal@15473 31 cp -a $install/usr/lib/libgooglepinyin.so* $fs/usr/lib/
pascal@15473 32 cp -a $install/usr/share/googlepinyin/ $fs/usr/share/
hipeng@10960 33 }