wok annotate scim-anthy/receipt @ rev 25026

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 10:39:49 2022 +0000 (2022-05-19)
parents 8c77592c608a
children 0262035dc1e7
rev   line source
Hans-G?nter@24309 1 # SliTaz package receipt.
Hans-G?nter@24309 2
Hans-G?nter@24309 3 PACKAGE="scim-anthy"
Hans-G?nter@24309 4 VERSION="1.3.2"
Hans-G?nter@24309 5 CATEGORY="utilities"
Hans-G?nter@24309 6 SHORT_DESC="Japanese input method module for SCIM."
Hans-G?nter@24309 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24309 8 LICENSE="GPL2"
Hans-G?nter@24309 9 WEB_SITE="https://github.com/scim-im/scim-anthy"
Hans-G?nter@24309 10
Hans-G?nter@24309 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24309 12 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
Hans-G?nter@24309 13
Hans-G?nter@24309 14 DEPENDS="anthy scim"
Hans-G?nter@24309 15 BUILD_DEPENDS="anthy-dev automake gtk+-dev libtool scim-dev"
Hans-G?nter@24309 16
pascal@24313 17 # What is the latest version available today?
pascal@24313 18 current_version()
pascal@24313 19 {
pascal@24313 20 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24313 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24313 22 }
pascal@24313 23
Hans-G?nter@24309 24 # Rules to configure and make the package.
Hans-G?nter@24309 25 compile_rules()
Hans-G?nter@24309 26 {
Hans-G?nter@24309 27 ./bootstrap &&
Hans-G?nter@24309 28 ./configure \
Hans-G?nter@24309 29 --prefix=/usr \
Hans-G?nter@24309 30 $CONFIGURE_ARGS &&
Hans-G?nter@24309 31 make &&
Hans-G?nter@24309 32 make DESTDIR=$DESTDIR install
Hans-G?nter@24309 33 }
Hans-G?nter@24309 34
Hans-G?nter@24309 35 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24309 36 genpkg_rules()
Hans-G?nter@24309 37 {
Hans-G?nter@24309 38 cook_copy_folders scim
Hans-G?nter@24309 39 cook_copy_files *.so*
Hans-G?nter@24309 40 }