wok-6.x annotate fcitx-configtool/receipt @ rev 24629

updated gsl and gsl-dev (2.6 -> 2.7.1)
author Hans-G?nter Theisgen
date Tue Mar 08 09:29:44 2022 +0100 (2022-03-08)
parents e3f377fbc5f0
children 94dd3813f40d
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
pascal@24540 17 # What is the latest version available today?
pascal@24540 18 current_version()
pascal@24540 19 {
pascal@24540 20 wget -O - https://github.com/fcitx/fcitx-configtool/tags 2>/dev/null | \
pascal@24540 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24540 22 }
pascal@24540 23
lufeng369@7691 24 # Rules to configure and make the package.
lufeng369@7691 25 compile_rules()
lufeng369@7691 26 {
lufeng369@7691 27 cd $src
pascal@13030 28 sed -i 's|<glib/.*h>|<glib.h>|' gtk/sub_config_parser.[hc] gtk/config_widget.h
lufeng369@7691 29 cmake -DCMAKE_INSTALL_PREFIX=/usr
pascal@15002 30 make && make DESTDIR=$DESTDIR install
lufeng369@7691 31 }
lufeng369@7691 32
lufeng369@7691 33 # Rules to gen a SliTaz package suitable for Tazpkg.
lufeng369@7691 34 genpkg_rules()
lufeng369@7691 35 {
lufeng369@7691 36 mkdir -p $fs/usr
pascal@15002 37 cp -a $install/usr $fs/
lufeng369@7691 38 }
lufeng369@7691 39