wok annotate libsixel/receipt @ rev 24975

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 16:22:04 2022 +0000 (2022-05-02)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
pascal@20644 1 # SliTaz package receipt.
pascal@20644 2
pascal@20644 3 PACKAGE="libsixel"
Hans-G?nter@24829 4 VERSION="1.10.3"
pascal@20644 5 CATEGORY="graphics"
Hans-G?nter@23102 6 SHORT_DESC="A SIXEL encoder and decoder implementation derived from kmiya's sixel."
pascal@20644 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20644 8 LICENSE="MIT"
Hans-G?nter@24829 9 WEB_SITE="https://github.com/libsixel/libsixel"
Hans-G?nter@23102 10
pascal@20644 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20644 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@20644 13
Hans-G?nter@24829 14 BUILD_DEPENDS="meson"
pascal@20644 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@20644 22 # Rules to configure and make the package.
pascal@20644 23 compile_rules()
pascal@20644 24 {
Hans-G?nter@24829 25 meson _build \
Hans-G?nter@24829 26 --prefix=/usr &&
Hans-G?nter@24829 27 ninja -C _build &&
Hans-G?nter@24829 28 ninja -C _build install
pascal@20644 29 }
pascal@20644 30
pascal@20644 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20644 32 genpkg_rules()
pascal@20644 33 {
Hans-G?nter@24829 34 cook_copy_folders bin
Hans-G?nter@24829 35 cook_copy_files *.so*
pascal@20644 36 }