wok annotate perl-tk/receipt @ rev 21203
Up dropbear (2019.78)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 07 14:20:01 2019 +0200 (2019-04-07) |
parents | 6e8b1bcb30e2 |
children | 2593e349e20d |
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" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/Tk" |
pascal@20682 | 14 WGET_URL="https://metacpan.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 |