wok-current view fcitx-googlepinyin/receipt @ rev 15847

Up: zopeinterface to 4.0.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 27 07:24:42 2014 +0000 (2014-01-27)
parents cb691d925aa8
children 8d64ce80ab95
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx-googlepinyin"
4 VERSION="0.1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Googlepinyin Wrapper for Fcitx"
7 MAINTAINER="liupeng <hipeng@yahoo.com>"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://code.google.com/p/fcitx"
11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
13 DEPENDS="fcitx libgooglepinyin"
14 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $src/build
20 cd $src/build
21 cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1
22 cd $src
23 make -C build || return 1
24 make install/fast -C build DESTDIR=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/fcitx/ $fs/usr/lib/fcitx/
31 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
32 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
33 cp -a $install/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
34 }