wok annotate fcitx-configtool/receipt @ rev 22050

updated trash-cli (0.12.9.14 -> 0.17.1.14)
author Hans-G?nter Theisgen
date Tue Oct 22 16:19:59 2019 +0100 (2019-10-22)
parents 8d64ce80ab95
children 544e47246b33
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"
pascal@15002 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20673 10 WEB_SITE="https://fcitx-im.org/wiki/Fcitx"
pascal@15002 11 WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
pascal@15002 12
lufeng369@7691 13 DEPENDS="fcitx gtk+"
pascal@11514 14 BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \
pascal@11530 15 pkg-config cairo-dev pango-dev fcitx-dev file"
lufeng369@7691 16
lufeng369@7691 17 # Rules to configure and make the package.
lufeng369@7691 18 compile_rules()
lufeng369@7691 19 {
lufeng369@7691 20 cd $src
pascal@13030 21 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h
lufeng369@7691 22 cmake -DCMAKE_INSTALL_PREFIX=/usr
pascal@15002 23 make && make DESTDIR=$DESTDIR install
lufeng369@7691 24 }
lufeng369@7691 25
lufeng369@7691 26 # Rules to gen a SliTaz package suitable for Tazpkg.
lufeng369@7691 27 genpkg_rules()
lufeng369@7691 28 {
lufeng369@7691 29 mkdir -p $fs/usr
pascal@15002 30 cp -a $install/usr $fs/
lufeng369@7691 31 }
lufeng369@7691 32