wok view fcitx-googlepinyin/receipt @ rev 11330

Up: htop (1.0)
author Alexander Medvedev <devl547@gmail.com>
date Wed Nov 23 16:42:08 2011 +0000 (2011-11-23)
parents 3af70ef3a7ac
children 7bb096863642
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 DEPENDS="fcitx libgooglepinyin"
9 BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://code.google.com/p/fcitx"
12 WGET_URL="http://fcitx.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/share/fcitx/ $fs/usr/lib/fcitx/
29 cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
30 cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
31 cp -a $_pkg/usr/lib/fcitx/fcitx-googlepinyin* $fs/usr/lib/fcitx/
32 }