wok-current view fcitx/receipt @ rev 24377

modified recipe for libboost-locale-dev
author Hans-G?nter Theisgen
date Sun Feb 06 09:47:43 2022 +0100 (2022-02-06)
parents 8d64ce80ab95
children 544e47246b33
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="https://fcitx-im.org/wiki/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 }