wok-next view perl-tk/receipt @ rev 21244
updated coova-chilli again (1.3.0 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 15:20:58 2019 +0100 (2019-12-05) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="Tk"
4 PACKAGE="perl-tk"
5 VERSION="804.034"
6 AUTHOR="SREZIC"
7 CATEGORY="perl"
8 SHORT_DESC="Tk - a graphical user interface toolkit for Perl"
9 MAINTAINER="devel@slitaz.org"
10 LICENSE="GPL"
11 WEB_SITE="https://metacpan.org/release/$ORIGIN"
12 REPOLOGY="${PACKAGE/-/:}"
14 TARBALL="$ORIGIN-$VERSION.tar.gz"
15 WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
17 COOKOPTS="force-arch" # arch-specific paths for .h
19 DEPENDS_std="perl fontconfig libjpeg-turbo libpng libx11 \
20 libxft zlib tk"
21 BUILD_DEPENDS="$DEPENDS_std perl-dev libx11-dev freetype-dev \
22 libxft-dev fontconfig-dev libpng-dev zlib-dev libjpeg-turbo-dev tk-dev"
24 SPLIT="$PACKAGE-dev"
26 compile_rules() {
27 # The Xlib header is wrong...
28 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' \
29 pTk/Xlib.h
31 cook_perl
32 }