wok-current view perl-tk/receipt @ rev 13051
php, php-gd: Add freetype support
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jun 18 22:02:23 2012 +0200 (2012-06-18) |
parents | 9f96d6c3e8db |
children | 2d12ebd38be4 |
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 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk"
9 BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev"
10 SOURCE="Tk"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://search.cpan.org/dist/Tk"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 /bin/chmod -R u+w *
20 # The Xlib header is wrong...
21 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h
22 perl Makefile.PL &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs
30 cp -a $_pkg/usr $fs/
31 }