wok annotate libgooglepinyin/receipt @ rev 22062
created package get-e-uae
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 24 16:40:55 2019 +0100 (2019-10-24) |
parents | eeba7ab1dffe |
children | 04907a90b0a7 |
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" |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15473 | 8 LICENSE="Apache" |
hipeng@10960 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20690 | 10 WEB_SITE="https://github.com/promisejohn/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 } |