wok-current rev 23408

updated perl-tk (804.029 -> 804.034)
author Hans-G?nter Theisgen
date Wed Apr 01 06:56:31 2020 +0100 (2020-04-01)
parents cda6d9337705
children cb515e81c1bc
files perl-tk/receipt
line diff
     1.1 --- a/perl-tk/receipt	Wed Apr 01 06:43:02 2020 +0100
     1.2 +++ b/perl-tk/receipt	Wed Apr 01 06:56:31 2020 +0100
     1.3 @@ -1,25 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-tk"
     1.7 -VERSION="804.029"
     1.8 +VERSION="804.034"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A graphical user interface toolkit for Perl"
    1.11 +SHORT_DESC="A graphical user interface toolkit for Perl."
    1.12  MAINTAINER="sygne@ombres.eu"
    1.13  LICENSE="GPL"
    1.14 -DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk"
    1.15 -BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev"
    1.16 +WEB_SITE="https://metacpan.org/release/Tk"
    1.17 +
    1.18  SOURCE="Tk"
    1.19  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 -WEB_SITE="https://metacpan.org/release/Tk"
    1.21 -WGET_URL="https://metacpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL"
    1.22 +WGET_URL="https://www.cpan.org/modules/by-module/Tk/$TARBALL"
    1.23 +
    1.24 +DEPENDS="fontconfig jpeg libpng perl tk xorg-libX11 xorg-libXau xorg-libXdmcp zlib"
    1.25 +BUILD_DEPENDS="fontconfig-dev jpeg-dev libpng-dev perl tk-dev xorg-libX11-dev 
    1.26 +	xorg-libXau-dev xorg-libXdmcp-dev zlib-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32  	/bin/chmod -R u+w *
    1.33  	# The Xlib header is wrong...
    1.34 -	sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h
    1.35 +	sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' \
    1.36 +		pTk/Xlib.h
    1.37 +
    1.38  	perl Makefile.PL &&
    1.39  	make DESTDIR=$DESTDIR install
    1.40  }
    1.41 @@ -28,6 +32,5 @@
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs 
    1.45 -	cp -a $install/usr $fs/
    1.46 +	cp -a $install/usr	$fs
    1.47  }
    1.48 -