wok view perl-tk/receipt @ rev 22960

updated irssi (1.2.0 -> 1.2.2)
author Hans-G?nter Theisgen
date Fri Feb 28 16:37:01 2020 +0100 (2020-02-28)
parents 6e8b1bcb30e2
children 2593e349e20d
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-tk"
4 VERSION="804.029"
5 CATEGORY="development"
6 SHORT_DESC="A graphical user interface toolkit for Perl"
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="GPL"
9 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk"
10 BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev"
11 SOURCE="Tk"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="https://metacpan.org/release/Tk"
14 WGET_URL="https://metacpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 /bin/chmod -R u+w *
21 # The Xlib header is wrong...
22 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h
23 perl Makefile.PL &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $install/usr $fs/
32 }