wok-current annotate perl-tk/receipt @ rev 2457
pango, parted, partimage, pciutils, pcmanfm, pcre-dev; perl*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 07:53:36 2009 +0000 (2009-03-14) |
parents | e8fa5f0b1fb0 |
children | 4482e0fab13a |
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 |
sygne@1557 | 18 |
pascal@2457 | 19 ./configure && |
pascal@2457 | 20 perl Makefile.PL && |
sygne@1557 | 21 make DESTDIR=$PWD/_pkg install |
sygne@1557 | 22 } |
sygne@1557 | 23 |
sygne@1557 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@1557 | 25 genpkg_rules() |
sygne@1557 | 26 { |
sygne@1557 | 27 mkdir -p $fs |
sygne@1557 | 28 cp -a $_pkg/usr $fs/ |
sygne@1557 | 29 strip -s $fs/usr/bin/* |
sygne@1557 | 30 } |
sygne@1557 | 31 |