wok-6.x annotate jbig2dec/receipt @ rev 24299

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 15:21:40 2022 +0000 (2022-01-15)
parents 5ea0ce1cecc0
children 77022d0ba24d
rev   line source
slaxemulator@6842 1 # SliTaz package receipt.
slaxemulator@6842 2
slaxemulator@6842 3 PACKAGE="jbig2dec"
pascal@23836 4 VERSION="0.18"
slaxemulator@6842 5 CATEGORY="development"
Hans-G?nter@22967 6 SHORT_DESC="Decoder implementation of the JBIG2 image compressiong 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 {
slaxemulator@6842 37 mkdir -p $fs/usr/lib
Hans-G?nter@22967 38
Hans-G?nter@22967 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22967 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6842 41 }