wok-6.x view fcitx-configtool/receipt @ rev 25192

updated python-formencode (1.2.2 -> 2.0.1)
author Hans-G?nter Theisgen
date Wed Jul 13 10:37:28 2022 +0100 (2022-07-13)
parents 544e47246b33
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://fcitx-im.org/wiki/Fcitx"
11 WGET_URL="https://download.fcitx-im.org/fcitx-configtool/$TARBALL"
13 DEPENDS="fcitx gtk+"
14 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \
15 pkg-config cairo-dev pango-dev fcitx-dev file"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/fcitx/fcitx-configtool/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h
29 cmake -DCMAKE_INSTALL_PREFIX=/usr
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr $fs/
38 }