wok annotate ibus-hangul/receipt @ rev 24982

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 13:06:36 2022 +0000 (2022-05-08)
parents b569b85b0fb9
children 20ad21d5532c
rev   line source
pascal@13358 1 # SliTaz package receipt.
pascal@13358 2
pascal@13358 3 PACKAGE="ibus-hangul"
pascal@13358 4 VERSION="1.4.1"
pascal@13358 5 CATEGORY="utilities"
pascal@13358 6 SHORT_DESC="Intelligent Input Bus"
pascal@13358 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14996 8 LICENSE="GPL2"
pascal@20672 9 WEB_SITE="https://github.com/ibus/ibus/wiki"
pascal@13358 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24982 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/$TARBALL"
pascal@13358 12
pascal@13358 13 DEPENDS="ibus"
pascal@13358 14 BUILD_DEPENDS="intltool gettext perl ibus-dev glib-dev libhangul-dev"
pascal@13358 15
pascal@24308 16 # What is the latest version available today?
pascal@24308 17 current_version()
pascal@24308 18 {
pascal@24308 19 wget -O - https://github.com/ibus/ibus/releases 2>/dev/null | \
pascal@24308 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 21 }
pascal@24308 22
pascal@13358 23 # Rules to configure and make the package.
pascal@13358 24 compile_rules()
pascal@13358 25 {
pascal@13358 26 ./configure --prefix=/usr \
pascal@13358 27 --mandir=/usr/share/man \
pascal@13358 28 --infodir=/usr/share/info \
pascal@13358 29 --disable-gtk3 \
pascal@13358 30 --with-gtk2-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
pascal@13358 31 $CONFIGURE_ARGS &&
pascal@13358 32 make && make -k DESTDIR=$DESTDIR install
pascal@13358 33 }
pascal@13358 34
pascal@13358 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13358 36 genpkg_rules()
pascal@13358 37 {
pascal@13358 38 cp -a $install/* $fs
pascal@13358 39 }