wok-next annotate fcitx-configtool/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
lufeng369@7691 1 # SliTaz package receipt.
lufeng369@7691 2
lufeng369@7691 3 PACKAGE="fcitx-configtool"
pascal@11538 4 VERSION="0.3.1"
lufeng369@7691 5 CATEGORY="x-window"
lufeng369@7691 6 SHORT_DESC="fcitx chinese input-medthod GUI configure tool"
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://fcitx-im.org/wiki/Configtool"
al@21020 10
pascal@15002 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20906 12 WGET_URL="https://download.fcitx-im.org/$PACKAGE/$TARBALL"
pascal@15002 13
al@21078 14 BUILD_DEPENDS="fcitx libunique-dev gtk2-dev cmake intltool libxrender-dev \
al@20513 15 cairo-dev pango-dev fcitx-dev file"
lufeng369@7691 16
al@21020 17 compile_rules() {
pascal@13030 18 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h
al@21020 19
al@21020 20 cmake \
al@21020 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@21020 22 . &&
al@21020 23 make &&
al@21020 24 make DESTDIR=$install install
lufeng369@7691 25 }
lufeng369@7691 26
al@21020 27 genpkg_rules() {
al@21020 28 copy @std *.mo
al@21020 29 DEPENDS="fcitx gtk2"
lufeng369@7691 30 }