wok view jp2a/receipt @ rev 24358

backintime: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 16:07:00 2022 +0000 (2022-02-03)
parents 49cec93cc0b7
children 8405a310d36a
line source
1 # SliTaz package receipt.
3 PACKAGE="jp2a"
4 VERSION="1.0.9"
5 CATEGORY="graphics"
6 SHORT_DESC="Converts JPG images to ASCII."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/Talinx/jp2a"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="jpeg libcurl"
14 BUILD_DEPENDS="jpeg-dev curl-dev libtool"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh
26 ./configure --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }