wok annotate perl-tk/receipt @ rev 14395

ecore: update deps+bdeps +tags (e18 release is scheduled next month)
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 17:23:33 2013 +0200 (2013-04-23)
parents 9f96d6c3e8db
children 2d12ebd38be4
rev   line source
sygne@1557 1 # SliTaz package receipt.
sygne@1557 2
sygne@1557 3 PACKAGE="perl-tk"
slaxemulator@6595 4 VERSION="804.029"
sygne@1557 5 CATEGORY="development"
slaxemulator@6595 6 SHORT_DESC="A graphical user interface toolkit for Perl"
sygne@1557 7 MAINTAINER="sygne@ombres.eu"
slaxemulator@6595 8 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk"
slaxemulator@6595 9 BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev"
sygne@1557 10 SOURCE="Tk"
sygne@1557 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@6595 12 WEB_SITE="http://search.cpan.org/dist/Tk"
sygne@1557 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL"
sygne@1557 14
sygne@1557 15 # Rules to configure and make the package.
sygne@1557 16 compile_rules()
sygne@1557 17 {
sygne@1557 18 cd $src
slaxemulator@9167 19 /bin/chmod -R u+w *
slaxemulator@9167 20 # The Xlib header is wrong...
slaxemulator@9167 21 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h
pascal@2457 22 perl Makefile.PL &&
sygne@1557 23 make DESTDIR=$PWD/_pkg install
sygne@1557 24 }
sygne@1557 25
sygne@1557 26 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@1557 27 genpkg_rules()
sygne@1557 28 {
sygne@1557 29 mkdir -p $fs
sygne@1557 30 cp -a $_pkg/usr $fs/
sygne@1557 31 }
sygne@1557 32