wok-next view fcitx-configtool/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fcitx-configtool"
4 VERSION="0.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="fcitx chinese input-medthod GUI configure tool"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://fcitx-im.org/wiki/Configtool"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.fcitx-im.org/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="fcitx libunique-dev gtk2-dev cmake intltool libxrender-dev \
15 cairo-dev pango-dev fcitx-dev file"
17 compile_rules() {
18 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 . &&
23 make &&
24 make DESTDIR=$install install
25 }
27 genpkg_rules() {
28 copy @std *.mo
29 DEPENDS="fcitx gtk2"
30 }