wok-6.x view libgooglepinyin/receipt @ rev 13025

clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 17:36:31 2012 +0200 (2012-06-11)
parents 6e4cd2532814
children 8f447cf2eee5
line source
1 # SliTaz package receipt.
3 PACKAGE="libgooglepinyin"
4 VERSION="0.1.1"
5 CATEGORY="development"
6 SHORT_DESC="A fork from google pinyin on android"
7 MAINTAINER="liupeng <hipeng@yahoo.com>"
8 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc"
9 DEPENDS=""
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://code.google.com/p/libgooglepinyin/"
12 WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $src/build
18 cd $src/build
19 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
20 cd $src
21 make -C build || return 1
22 make install/fast -C build DESTDIR=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/ $fs/usr/share/
29 cp -a $_pkg/usr/lib/libgooglepinyin.so* $fs/usr/lib/
30 cp -a $_pkg/usr/share/googlepinyin/ $fs/usr/share/
31 }