wok-6.x diff libtkimg/receipt @ rev 25002

updated nrg2iso (0.4 -> 0.4.1)
author Hans-G?nter Theisgen
date Mon May 16 14:45:30 2022 +0100 (2022-05-16)
parents 3abeffdae80b
children b0069c845544
line diff
     1.1 --- a/libtkimg/receipt	Thu Feb 10 11:43:39 2022 +0000
     1.2 +++ b/libtkimg/receipt	Mon May 16 14:45:30 2022 +0100
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libtkimg"
     1.7 +VERSION="1.4.13"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Extended image format support for Tcl/Tk."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://tkimg.sourceforge.io/"
    1.13 +REPOLOGY="tkimg"
    1.14  SOURCE="tkimg"
    1.15 -VERSION="1.4.2"
    1.16 -CATEGORY="development"
    1.17 -SHORT_DESC="Extended image format support for Tcl/Tk"
    1.18 -MAINTAINER="pascal.bellard@slitaz.org"
    1.19 -LICENSE="BSD GPL2"
    1.20 -TARBALL="$SOURCE$VERSION.tar.bz2"
    1.21 -WEB_SITE="http://tkimg.sourceforge.net/"
    1.22 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.23 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.24 +WGET_URL="$SF_MIRROR/$SOURCE/$SOURCE/${VERSION%.*}/$SOURCE%20$VERSION/Img-$VERSION-Source.tar.gz"
    1.25  
    1.26  DEPENDS="tk"
    1.27 -BUILD_DEPENDS="tcllib tcl-dev tk-dev xorg-dev"
    1.28 +BUILD_DEPENDS="tcl-dev tcllib tk-dev xorg-dev"
    1.29  
    1.30  # What is the latest version available today?
    1.31  current_version()
    1.32 @@ -25,23 +26,24 @@
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	make distclean
    1.37 -	./configure --prefix=/usr \
    1.38 -		--mandir=/usr/share/man \
    1.39 +	./configure			\
    1.40 +		--prefix=/usr		\
    1.41 +		--mandir=/usr/share/man	\
    1.42  		$CONFIGURE_ARGS &&
    1.43  	make all &&
    1.44 -	make INSTALL_ROOT=$DESTDIR install
    1.45 +	make install INSTALL_ROOT=$DESTDIR
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51  	mkdir -p $fs/usr/lib/Img$VERSION
    1.52 -	cp -a $install/usr/lib/*.sh $fs/usr/lib
    1.53 -	cp -a $src/Img/exec_prefix/lib/*.sh $fs/usr/lib
    1.54 -	cat $install/usr/lib/Img$VERSION/*.tcl \
    1.55 +
    1.56 +	cp -a $install/usr/lib/*.sh		$fs/usr/lib
    1.57 +	cp -a $src/Img/exec_prefix/lib/*.sh	$fs/usr/lib
    1.58 +	cat	$install/usr/lib/Img$VERSION/*.tcl \
    1.59  		$src/Img/exec_prefix/lib/Img/*.tcl > \
    1.60 -		$fs/usr/lib/Img$VERSION/pkgIndex.tcl
    1.61 -	cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION
    1.62 -	cp -a $src/Img/exec_prefix/lib/Img/*.so $fs/usr/lib/Img$VERSION
    1.63 +						$fs/usr/lib/Img$VERSION/pkgIndex.tcl
    1.64 +	cp -a $install/usr/lib/Img$VERSION/*.so	$fs/usr/lib/Img$VERSION
    1.65 +	cp -a $src/Img/exec_prefix/lib/Img/*.so	$fs/usr/lib/Img$VERSION
    1.66  }