wok annotate perl-tk/receipt @ rev 23462
updated pymux (0.6 -> 0.14)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 04 17:32:52 2020 +0100 (2020-04-04) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
sygne@1557 | 1 # SliTaz package receipt. |
sygne@1557 | 2 |
sygne@1557 | 3 PACKAGE="perl-tk" |
Hans-G?nter@23408 | 4 VERSION="804.034" |
sygne@1557 | 5 CATEGORY="development" |
Hans-G?nter@23408 | 6 SHORT_DESC="A graphical user interface toolkit for Perl." |
sygne@1557 | 7 MAINTAINER="sygne@ombres.eu" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23408 | 9 WEB_SITE="https://metacpan.org/release/Tk" |
Hans-G?nter@23408 | 10 |
sygne@1557 | 11 SOURCE="Tk" |
sygne@1557 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23408 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Tk/$TARBALL" |
Hans-G?nter@23408 | 14 |
Hans-G?nter@23408 | 15 DEPENDS="fontconfig jpeg libpng perl tk xorg-libX11 xorg-libXau xorg-libXdmcp zlib" |
Hans-G?nter@23408 | 16 BUILD_DEPENDS="fontconfig-dev jpeg-dev libpng-dev perl tk-dev xorg-libX11-dev |
Hans-G?nter@23408 | 17 xorg-libXau-dev xorg-libXdmcp-dev zlib-dev" |
sygne@1557 | 18 |
sygne@1557 | 19 # Rules to configure and make the package. |
sygne@1557 | 20 compile_rules() |
sygne@1557 | 21 { |
slaxemulator@9167 | 22 /bin/chmod -R u+w * |
slaxemulator@9167 | 23 # The Xlib header is wrong... |
Hans-G?nter@23408 | 24 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' \ |
Hans-G?nter@23408 | 25 pTk/Xlib.h |
Hans-G?nter@23408 | 26 |
pascal@2457 | 27 perl Makefile.PL && |
pascal@14702 | 28 make DESTDIR=$DESTDIR install |
sygne@1557 | 29 } |
sygne@1557 | 30 |
sygne@1557 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@1557 | 32 genpkg_rules() |
sygne@1557 | 33 { |
sygne@1557 | 34 mkdir -p $fs |
Hans-G?nter@23408 | 35 cp -a $install/usr $fs |
sygne@1557 | 36 } |