wok-next view fcitx-googlepinyin/receipt @ rev 16183

Up: viewnior (1.4)
author Alexander Medvedev <devl547@gmail.com>
date Sun Mar 30 16:04:49 2014 +0000 (2014-03-30)
parents 7bb096863642
children a3c581bf52b8
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="lufeng369@slitaz.org"
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 }