wok view perl-tk/receipt @ rev 21291

updated libsdl-mixer and libsdl-mixer-dev (1.2.11 -> 1.2.12)
author Hans-G?nter Theisgen
date Tue Apr 16 17:37:23 2019 +0100 (2019-04-16)
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 }