wok-6.x view perl-tk/receipt @ rev 23953
mrxvt-unicode: modified dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 22 16:18:32 2020 +0100 (2020-09-22) |
parents | 20661c276bcf |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-tk"
4 VERSION="804.034"
5 CATEGORY="development"
6 SHORT_DESC="A graphical user interface toolkit for Perl."
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Tk"
11 SOURCE="Tk"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Tk/$TARBALL"
15 DEPENDS="fontconfig jpeg libpng perl tk xorg-libX11 xorg-libXau xorg-libXdmcp zlib"
16 BUILD_DEPENDS="fontconfig-dev jpeg-dev libpng-dev perl tk-dev xorg-libX11-dev
17 xorg-libXau-dev xorg-libXdmcp-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 /bin/chmod -R u+w *
23 # The Xlib header is wrong...
24 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' \
25 pTk/Xlib.h
27 perl Makefile.PL &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs
35 cp -a $install/usr $fs
36 }