wok rev 24839

updated libtkimg and libtkimg-dev (1.4.2 -> 1.4.13)
author Hans-G?nter Theisgen
date Fri Mar 25 09:07:22 2022 +0100 (2022-03-25)
parents 328ae9a03407
children ea983d0c7e74
files libtkimg-dev/receipt libtkimg/description.txt libtkimg/receipt
line diff
     1.1 --- a/libtkimg-dev/receipt	Fri Mar 25 07:49:01 2022 +0100
     1.2 +++ b/libtkimg-dev/receipt	Fri Mar 25 09:07:22 2022 +0100
     1.3 @@ -1,22 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libtkimg-dev"
     1.7 -VERSION="1.4.2"
     1.8 +VERSION="1.4.13"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Extended image format support for Tcl/Tk, development files"
    1.11 +SHORT_DESC="Extended image format support for Tcl/Tk, development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 -LICENSE="BSD GPL2"
    1.14 -WEB_SITE="http://tkimg.sourceforge.net/"
    1.15 -WANTED="libtkimg"
    1.16 +LICENSE="BSD"
    1.17 +WEB_SITE="https://tkimg.sourceforge.net/"
    1.18  
    1.19  DEPENDS="libtkimg"
    1.20 +WANTED="libtkimg"
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	mkdir -p $fs/usr/lib/Img$VERSION
    1.26 -	cp -a $install/usr/lib/Img$VERSION/*.a $fs/usr/lib/Img$VERSION
    1.27 -	cp -a $src/Img/exec_prefix/lib/Img/*.a $fs/usr/lib/Img$VERSION
    1.28 -	cp -a $install/usr/include $fs/usr
    1.29 -	cp -a $src/Img/prefix/include $fs/usr
    1.30 +
    1.31 +	cp -a $install/usr/lib/Img$VERSION/*.a	$fs/usr/lib/Img$VERSION
    1.32 +	cp -a $src/Img/exec_prefix/lib/Img/*.a	$fs/usr/lib/Img$VERSION
    1.33 +	cp -a $install/usr/include		$fs/usr
    1.34 +	cp -a $src/Img/prefix/include		$fs/usr
    1.35  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libtkimg/description.txt	Fri Mar 25 09:07:22 2022 +0100
     2.3 @@ -0,0 +1,1 @@
     2.4 +Img is a Tk extension, adding support for many other Image formats.
     3.1 --- a/libtkimg/receipt	Fri Mar 25 07:49:01 2022 +0100
     3.2 +++ b/libtkimg/receipt	Fri Mar 25 09:07:22 2022 +0100
     3.3 @@ -1,18 +1,19 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libtkimg"
     3.7 +VERSION="1.4.13"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Extended image format support for Tcl/Tk."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="BSD"
    3.12 +WEB_SITE="https://tkimg.sourceforge.io/"
    3.13 +REPOLOGY="tkimg"
    3.14  SOURCE="tkimg"
    3.15 -VERSION="1.4.2"
    3.16 -CATEGORY="development"
    3.17 -SHORT_DESC="Extended image format support for Tcl/Tk"
    3.18 -MAINTAINER="pascal.bellard@slitaz.org"
    3.19 -LICENSE="BSD GPL2"
    3.20 -TARBALL="$SOURCE$VERSION.tar.bz2"
    3.21 -WEB_SITE="http://tkimg.sourceforge.net/"
    3.22 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    3.23 +TARBALL="$SOURCE-$VERSION.tar.gz"
    3.24 +WGET_URL="$SF_MIRROR/$SOURCE/$SOURCE/${VERSION%.*}/$SOURCE%20$VERSION/Img-$VERSION-Source.tar.gz"
    3.25  
    3.26  DEPENDS="tk"
    3.27 -BUILD_DEPENDS="tcllib tcl-dev tk-dev xorg-dev"
    3.28 +BUILD_DEPENDS="tcl-dev tcllib tk-dev xorg-dev"
    3.29  
    3.30  # What is the latest version available today?
    3.31  current_version()
    3.32 @@ -25,23 +26,24 @@
    3.33  # Rules to configure and make the package.
    3.34  compile_rules()
    3.35  {
    3.36 -	make distclean
    3.37 -	./configure --prefix=/usr \
    3.38 -		--mandir=/usr/share/man \
    3.39 +	./configure			\
    3.40 +		--prefix=/usr		\
    3.41 +		--mandir=/usr/share/man	\
    3.42  		$CONFIGURE_ARGS &&
    3.43  	make all &&
    3.44 -	make INSTALL_ROOT=$DESTDIR install
    3.45 +	make install INSTALL_ROOT=$DESTDIR
    3.46  }
    3.47  
    3.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.49  genpkg_rules()
    3.50  {
    3.51  	mkdir -p $fs/usr/lib/Img$VERSION
    3.52 -	cp -a $install/usr/lib/*.sh $fs/usr/lib
    3.53 -	cp -a $src/Img/exec_prefix/lib/*.sh $fs/usr/lib
    3.54 -	cat $install/usr/lib/Img$VERSION/*.tcl \
    3.55 +
    3.56 +	cp -a $install/usr/lib/*.sh		$fs/usr/lib
    3.57 +	cp -a $src/Img/exec_prefix/lib/*.sh	$fs/usr/lib
    3.58 +	cat	$install/usr/lib/Img$VERSION/*.tcl \
    3.59  		$src/Img/exec_prefix/lib/Img/*.tcl > \
    3.60 -		$fs/usr/lib/Img$VERSION/pkgIndex.tcl
    3.61 -	cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION
    3.62 -	cp -a $src/Img/exec_prefix/lib/Img/*.so $fs/usr/lib/Img$VERSION
    3.63 +						$fs/usr/lib/Img$VERSION/pkgIndex.tcl
    3.64 +	cp -a $install/usr/lib/Img$VERSION/*.so	$fs/usr/lib/Img$VERSION
    3.65 +	cp -a $src/Img/exec_prefix/lib/Img/*.so	$fs/usr/lib/Img$VERSION
    3.66  }