wok-stable view perl-tk/receipt @ rev 10754

slitaz-i18n-extra: use EXTRA_PKGS as bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 22:12:10 2011 +0200 (2011-05-30)
parents 9f96d6c3e8db
children
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 }