wok annotate jbig2dec/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents ac8ca9758df1
children
rev   line source
slaxemulator@6842 1 # SliTaz package receipt.
slaxemulator@6842 2
slaxemulator@6842 3 PACKAGE="jbig2dec"
Hans-G?nter@24686 4 VERSION="0.19"
slaxemulator@6842 5 CATEGORY="development"
Hans-G?nter@24686 6 SHORT_DESC="Decoder implementation of the JBIG2 image compression format."
slaxemulator@6842 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@22967 9 WEB_SITE="https://github.com/ArtifexSoftware/jbig2dec"
Hans-G?nter@22967 10
slaxemulator@6842 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22967 12 WGET_URL="$WEB_SITE/archive/$VERSION/$TARBALL"
Hans-G?nter@22967 13
Hans-G?nter@22967 14 BUILD_DEPENDS="autoconf automake libpng-dev libtool"
Hans-G?nter@22967 15
pankso@16218 16 HOST_ARCH="i486 arm"
pascal@14999 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24299 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
slaxemulator@6842 24 # Rules to configure and make the package.
slaxemulator@6842 25 compile_rules()
slaxemulator@6842 26 {
Hans-G?nter@22967 27 ./autogen.sh &&
Hans-G?nter@22967 28 ./configure \
slaxemulator@6842 29 $CONFIGURE_ARGS &&
Hans-G?nter@22967 30 make &&
Hans-G?nter@22967 31 make install
slaxemulator@6842 32 }
slaxemulator@6842 33
slaxemulator@6842 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6842 35 genpkg_rules()
slaxemulator@6842 36 {
Hans-G?nter@24686 37 cook_copy_folders bin
Hans-G?nter@24686 38 cook_copy_files *.so*
slaxemulator@6842 39 }