wok-stable annotate perl-tk/receipt @ rev 2355
Up: curl (7.19.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 05 11:38:09 2009 +0100 (2009-03-05) |
parents | |
children | 89e187b7d309 |
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" |
sygne@1557 | 8 DEPENDS="perl fontconfig" |
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 |
sygne@1557 | 19 ./configure |
sygne@1557 | 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 |