wok-current view perl-tk/receipt @ rev 18678
Add xpenguins (2.2), xpenguins_themes (1.0)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Mon Dec 07 22:10:28 2015 +0100 (2015-12-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 }