wok-6.x annotate libgooglepinyin/receipt @ rev 16079
ARM: add more *usb* support and unixODBC
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 15 05:33:56 2014 +0100 (2014-03-15) |
parents | 8f447cf2eee5 |
children | eeba7ab1dffe |
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" |
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 } |