wok-6.x annotate perl-tk/receipt @ rev 2471
curl: --without-libidn
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 15 19:54:47 2009 +0100 (2009-03-15) |
parents | 89e187b7d309 |
children | 9b20db26bb2f |
rev | line source |
---|---|
sygne@1557 | 1 # SliTaz package receipt. |
sygne@1557 | 2 |
sygne@1557 | 3 PACKAGE="perl-tk" |
sygne@1557 | 4 VERSION="804.028" |
sygne@1557 | 5 CATEGORY="development" |
sygne@1557 | 6 SHORT_DESC="perl-tk librairie" |
sygne@1557 | 7 MAINTAINER="sygne@ombres.eu" |
pascal@2457 | 8 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib" |
sygne@1557 | 9 SOURCE="Tk" |
sygne@1557 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
sygne@1557 | 11 WEB_SITE="http://www.perltk.org/" |
sygne@1557 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL" |
sygne@1557 | 13 |
sygne@1557 | 14 # Rules to configure and make the package. |
sygne@1557 | 15 compile_rules() |
sygne@1557 | 16 { |
sygne@1557 | 17 cd $src |
pascal@2457 | 18 perl Makefile.PL && |
sygne@1557 | 19 make DESTDIR=$PWD/_pkg install |
sygne@1557 | 20 } |
sygne@1557 | 21 |
sygne@1557 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@1557 | 23 genpkg_rules() |
sygne@1557 | 24 { |
sygne@1557 | 25 mkdir -p $fs |
sygne@1557 | 26 cp -a $_pkg/usr $fs/ |
sygne@1557 | 27 strip -s $fs/usr/bin/* |
sygne@1557 | 28 } |
sygne@1557 | 29 |