wok annotate jp2a/receipt @ rev 25618
Update get-pcem-roms
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 28 14:28:52 2023 +0000 (17 months ago) |
parents | 8405a310d36a |
children |
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@25599 | 16 # What is the latest version available today? |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25599 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@17526 | 23 # Rules to configure and make the package. |
pascal@17526 | 24 compile_rules() |
pascal@17526 | 25 { |
Hans-G?nter@24689 | 26 ./autogen.sh && |
Hans-G?nter@24689 | 27 ./configure \ |
Hans-G?nter@24689 | 28 --prefix=/usr \ |
pascal@17526 | 29 $CONFIGURE_ARGS && |
pascal@17526 | 30 make && |
Hans-G?nter@24689 | 31 make install DESTDIR=$DESTDIR |
pascal@17526 | 32 } |
pascal@17526 | 33 |
pascal@17526 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17526 | 35 genpkg_rules() |
pascal@17526 | 36 { |
Hans-G?nter@24689 | 37 cook_copy_folders bin |
pascal@17526 | 38 } |