wok-current view fcitx/receipt @ rev 12725

fox14: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 05 13:03:47 2012 +0200 (2012-05-05)
parents bacf9313d933
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx"
4 VERSION="4.1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Free Chinese Input Toy of X, a collection of Simplified Chinese input methods for Linux."
7 MAINTAINER="lufeng369@gmail.com"
8 DEPENDS="libfcitx fcitx-skin-default gtk+"
9 BUILD_DEPENDS="cmake intltool cairo-dev pango-dev gtk+-dev dbus-dev opencc-dev gcc"
10 TARBALL="$PACKAGE-${VERSION}_all.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 -DENABLE_QT_IM_MODULE=OFF -DENABLE_GTK2_IM_MODULE=OFF -DENABLE_GTK3_IM_MODULE=OFF -DENABLE_OPENCC=ON || 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/bin/ $fs/usr/share/fcitx/ $fs/usr/share/applications/
29 cp -a $_pkg/usr/bin/fcitx $fs/usr/bin/
30 cp -a $_pkg/usr/bin/fcitx-configtool $fs/usr/bin/
31 cp -a $_pkg/usr/bin/fcitx-remote $fs/usr/bin/
32 cp -a $_pkg/usr/bin/fcitx4-config $fs/usr/bin/
33 cp -a $_pkg/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
34 cp -a $_pkg/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
35 cp -a $_pkg/usr/share/fcitx/data/ $fs/usr/share/fcitx/
36 cp -a $_pkg/usr/share/fcitx/pinyin/ $fs/usr/share/fcitx/
37 cp -a $_pkg/usr/share/fcitx/table/ $fs/usr/share/fcitx/
38 cp -a $_pkg/usr/share/applications/*.desktop $fs/usr/share/applications/
39 cp -a $_pkg/usr/share/icons/ $fs/usr/share/
40 }