wok diff perl-tk/receipt @ rev 16285
libunique: add cflags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 06 18:57:04 2014 +0000 (2014-04-06) |
parents | 93372d5d3665 |
children | 6e8b1bcb30e2 |
line diff
1.1 --- a/perl-tk/receipt Tue Mar 08 00:09:47 2011 +0000 1.2 +++ b/perl-tk/receipt Sun Apr 06 18:57:04 2014 +0000 1.3 @@ -5,6 +5,7 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="A graphical user interface toolkit for Perl" 1.6 MAINTAINER="sygne@ombres.eu" 1.7 +LICENSE="GPL" 1.8 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk" 1.9 BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev" 1.10 SOURCE="Tk" 1.11 @@ -20,13 +21,13 @@ 1.12 # The Xlib header is wrong... 1.13 sed -i 's/XKeycodeToKeysym\(.*\)unsigned int/XKeycodeToKeysym\1KeyCode/' pTk/Xlib.h 1.14 perl Makefile.PL && 1.15 - make DESTDIR=$PWD/_pkg install 1.16 + make DESTDIR=$DESTDIR install 1.17 } 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 mkdir -p $fs 1.23 - cp -a $_pkg/usr $fs/ 1.24 + cp -a $install/usr $fs/ 1.25 } 1.26