wok-current annotate perl-tk/receipt @ rev 7270
Up: aaphoto to 0.39.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 14 23:09:21 2010 +0000 (2010-11-14) |
parents | 9b20db26bb2f |
children | 93372d5d3665 |
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" |
slaxemulator@6595 | 8 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng tk" |
slaxemulator@6595 | 9 BUILD_DEPENDS="perl fontconfig-dev jpeg-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev libpng-dev tk-dev" |
sygne@1557 | 10 SOURCE="Tk" |
sygne@1557 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@6595 | 12 WEB_SITE="http://search.cpan.org/dist/Tk" |
sygne@1557 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL" |
sygne@1557 | 14 |
sygne@1557 | 15 # Rules to configure and make the package. |
sygne@1557 | 16 compile_rules() |
sygne@1557 | 17 { |
sygne@1557 | 18 cd $src |
pascal@2457 | 19 perl Makefile.PL && |
sygne@1557 | 20 make DESTDIR=$PWD/_pkg install |
sygne@1557 | 21 } |
sygne@1557 | 22 |
sygne@1557 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@1557 | 24 genpkg_rules() |
sygne@1557 | 25 { |
sygne@1557 | 26 mkdir -p $fs |
sygne@1557 | 27 cp -a $_pkg/usr $fs/ |
sygne@1557 | 28 strip -s $fs/usr/bin/* |
sygne@1557 | 29 } |
sygne@1557 | 30 |