wok view perl-tk/receipt @ rev 16300

Up: xfce4-panel (4.11.0)
author Alexander Medvedev <devl547@gmail.com>
date Mon Apr 07 08:45:15 2014 +0000 (2014-04-07)
parents 93372d5d3665
children 6e8b1bcb30e2
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="http://search.cpan.org/dist/Tk"
14 WGET_URL="http://search.cpan.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 }