wok-6.x annotate libgooglepinyin/receipt @ rev 13324
libhangul: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 03 09:39:24 2012 +0200 (2012-09-03) |
parents | 6e4cd2532814 |
children | 8f447cf2eee5 |
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>" |
hipeng@10960 | 8 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc" |
hipeng@10960 | 9 DEPENDS="" |
hipeng@10960 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
hipeng@10960 | 11 WEB_SITE="http://code.google.com/p/libgooglepinyin/" |
hipeng@10960 | 12 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL" |
hipeng@10960 | 13 |
hipeng@10960 | 14 # Rules to configure and make the package. |
hipeng@10960 | 15 compile_rules() |
hipeng@10960 | 16 { |
slaxemulator@10962 | 17 mkdir -p $src/build |
slaxemulator@10962 | 18 cd $src/build |
slaxemulator@10962 | 19 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 |
hipeng@10960 | 20 cd $src |
hipeng@10960 | 21 make -C build || return 1 |
slaxemulator@10962 | 22 make install/fast -C build DESTDIR=$DESTDIR |
hipeng@10960 | 23 } |
hipeng@10960 | 24 |
hipeng@10960 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@10960 | 26 genpkg_rules() |
hipeng@10960 | 27 { |
hipeng@10960 | 28 mkdir -p $fs/usr/lib/ $fs/usr/share/ |
hipeng@10960 | 29 cp -a $_pkg/usr/lib/libgooglepinyin.so* $fs/usr/lib/ |
hipeng@10960 | 30 cp -a $_pkg/usr/share/googlepinyin/ $fs/usr/share/ |
hipeng@10960 | 31 } |