wok-next annotate perl-tk/receipt @ rev 19497
Up SliTaz projects: cookutils (838), slitaz-base-files (314), tazlito (439 again, seems failure isn't here).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 17 01:33:43 2016 +0200 (2016-11-17) |
parents | 93372d5d3665 |
children | 1a86cb99cbbf |
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 |