wok view jp2a/receipt @ rev 24789

grep: add post_install (install)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 21 09:36:52 2022 +0000 (2022-03-21)
parents 5ea0ce1cecc0
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="jp2a"
4 VERSION="1.1.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Converts JPG images to ASCII."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Talinx/jp2a"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="jpeg libcurl"
14 BUILD_DEPENDS="autoconf-archive automake jpeg-dev curl-dev"
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 \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 }