wok-6.x view fcitx/receipt @ rev 19214
Up tzdata(2016e)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 14 23:10:20 2016 +0300 (2016-06-14) |
parents | 7896f0694ef6 |
children | e3f377fbc5f0 |
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@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-${VERSION}_all.tar.bz2"
10 WEB_SITE="http://code.google.com/p/fcitx/"
11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
13 DEPENDS="libfcitx fcitx-skin-default gtk+"
14 BUILD_DEPENDS="cmake intltool cairo-dev pango-dev gtk+-dev dbus-dev opencc-dev gcc"
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 -DENABLE_QT_IM_MODULE=OFF -DENABLE_GTK2_IM_MODULE=OFF -DENABLE_GTK3_IM_MODULE=OFF -DENABLE_OPENCC=ON || 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/bin/ $fs/usr/share/fcitx/ $fs/usr/share/applications/
31 cp -a $install/usr/bin/fcitx $fs/usr/bin/
32 cp -a $install/usr/bin/fcitx-configtool $fs/usr/bin/
33 cp -a $install/usr/bin/fcitx-remote $fs/usr/bin/
34 cp -a $install/usr/bin/fcitx4-config $fs/usr/bin/
35 cp -a $install/usr/share/fcitx/addon/ $fs/usr/share/fcitx/
36 cp -a $install/usr/share/fcitx/configdesc/ $fs/usr/share/fcitx/
37 cp -a $install/usr/share/fcitx/data/ $fs/usr/share/fcitx/
38 cp -a $install/usr/share/fcitx/pinyin/ $fs/usr/share/fcitx/
39 cp -a $install/usr/share/fcitx/table/ $fs/usr/share/fcitx/
40 cp -a $install/usr/share/applications/*.desktop $fs/usr/share/applications/
41 cp -a $install/usr/share/icons/ $fs/usr/share/
42 }