wok-6.x diff jp2a/receipt @ rev 24699

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 19:47:29 2022 +0000 (2022-03-13)
parents 5ea0ce1cecc0
children
line diff
     1.1 --- a/jp2a/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/jp2a/receipt	Sun Mar 13 19:47:29 2022 +0000
     1.3 @@ -1,17 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="jp2a"
     1.7 -VERSION="1.0.9"
     1.8 +VERSION="1.1.1"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Converts JPG images to ASCII."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://github.com/Talinx/jp2a"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="https://github.com/Talinx/jp2a"
    1.16  WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.17  
    1.18  DEPENDS="jpeg libcurl"
    1.19 -BUILD_DEPENDS="jpeg-dev curl-dev libtool"
    1.20 +BUILD_DEPENDS="autoconf-archive automake jpeg-dev curl-dev"
    1.21  
    1.22  current_version()
    1.23  {
    1.24 @@ -22,16 +22,16 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	./autogen.sh
    1.29 -	./configure --prefix=/usr \
    1.30 +	./autogen.sh &&
    1.31 +	./configure		\
    1.32 +		--prefix=/usr	\
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35 -	make DESTDIR=$DESTDIR install
    1.36 +	make install DESTDIR=$DESTDIR
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +	cook_copy_folders	bin
    1.45  }