# HG changeset patch # User Hans-G?nter Theisgen # Date 1585720591 -3600 # Node ID 2593e349e20d803acd4d6919f757325fe3eaebe0 # Parent cda6d9337705ad7ed4d24719e4c95a6637e9c066 updated perl-tk (804.029 -> 804.034) diff -r cda6d9337705 -r 2593e349e20d perl-tk/receipt --- a/perl-tk/receipt Wed Apr 01 06:43:02 2020 +0100 +++ b/perl-tk/receipt Wed Apr 01 06:56:31 2020 +0100 @@ -1,25 +1,29 @@ # SliTaz package receipt. PACKAGE="perl-tk" -VERSION="804.029" +VERSION="804.034" CATEGORY="development" -SHORT_DESC="A graphical user interface toolkit for Perl" +SHORT_DESC="A graphical user interface toolkit for Perl." MAINTAINER="sygne@ombres.eu" LICENSE="GPL" -DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk" -BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev" +WEB_SITE="https://metacpan.org/release/Tk" + SOURCE="Tk" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://metacpan.org/release/Tk" -WGET_URL="https://metacpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL" +WGET_URL="https://www.cpan.org/modules/by-module/Tk/$TARBALL" + +DEPENDS="fontconfig jpeg libpng perl tk xorg-libX11 xorg-libXau xorg-libXdmcp zlib" +BUILD_DEPENDS="fontconfig-dev jpeg-dev libpng-dev perl tk-dev xorg-libX11-dev + xorg-libXau-dev xorg-libXdmcp-dev zlib-dev" # Rules to configure and make the package. compile_rules() { - cd $src /bin/chmod -R u+w * # The Xlib header is wrong... - sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h + sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' \ + pTk/Xlib.h + perl Makefile.PL && make DESTDIR=$DESTDIR install } @@ -28,6 +32,5 @@ genpkg_rules() { mkdir -p $fs - cp -a $install/usr $fs/ + cp -a $install/usr $fs } -