wok annotate jp2a/receipt @ rev 24689

updated jp2a (1.0.9 -> 1.1.1)
author Hans-G?nter Theisgen
date Sat Mar 12 13:47:37 2022 +0100 (2022-03-12)
parents 5ea0ce1cecc0
children 20ad21d5532c
rev   line source
pascal@17526 1 # SliTaz package receipt.
pascal@17526 2
pascal@17526 3 PACKAGE="jp2a"
Hans-G?nter@24689 4 VERSION="1.1.1"
pascal@17526 5 CATEGORY="graphics"
pascal@17526 6 SHORT_DESC="Converts JPG images to ASCII."
pascal@17526 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17526 8 LICENSE="GPL2"
Hans-G?nter@24689 9 WEB_SITE="https://github.com/Talinx/jp2a"
pascal@22926 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22926 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@17526 12
pascal@17526 13 DEPENDS="jpeg libcurl"
Hans-G?nter@24689 14 BUILD_DEPENDS="autoconf-archive automake jpeg-dev curl-dev"
pascal@17526 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@17526 22 # Rules to configure and make the package.
pascal@17526 23 compile_rules()
pascal@17526 24 {
Hans-G?nter@24689 25 ./autogen.sh &&
Hans-G?nter@24689 26 ./configure \
Hans-G?nter@24689 27 --prefix=/usr \
pascal@17526 28 $CONFIGURE_ARGS &&
pascal@17526 29 make &&
Hans-G?nter@24689 30 make install DESTDIR=$DESTDIR
pascal@17526 31 }
pascal@17526 32
pascal@17526 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17526 34 genpkg_rules()
pascal@17526 35 {
Hans-G?nter@24689 36 cook_copy_folders bin
pascal@17526 37 }