wok-6.x annotate perl-tk/receipt @ rev 14952

Up: ethumb-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:16:04 2013 +0200 (2013-08-08)
parents 93372d5d3665
children 6e8b1bcb30e2
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"
pascal@14702 8 LICENSE="GPL"
slaxemulator@6595 9 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk"
slaxemulator@6595 10 BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev"
sygne@1557 11 SOURCE="Tk"
sygne@1557 12 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@6595 13 WEB_SITE="http://search.cpan.org/dist/Tk"
sygne@1557 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL"
sygne@1557 15
sygne@1557 16 # Rules to configure and make the package.
sygne@1557 17 compile_rules()
sygne@1557 18 {
sygne@1557 19 cd $src
slaxemulator@9167 20 /bin/chmod -R u+w *
slaxemulator@9167 21 # The Xlib header is wrong...
slaxemulator@9167 22 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h
pascal@2457 23 perl Makefile.PL &&
pascal@14702 24 make DESTDIR=$DESTDIR install
sygne@1557 25 }
sygne@1557 26
sygne@1557 27 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@1557 28 genpkg_rules()
sygne@1557 29 {
sygne@1557 30 mkdir -p $fs
pascal@14702 31 cp -a $install/usr $fs/
sygne@1557 32 }
sygne@1557 33