wok-next annotate perl-uri-escape/receipt @ rev 4114

Up: hal (0.5.13)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Sep 19 22:44:21 2009 +0200 (2009-09-19)
parents
children
rev   line source
erjo@2057 1 # SliTaz package receipt.
erjo@2057 2
erjo@2057 3 PACKAGE="perl-uri-escape"
erjo@2057 4 VERSION="1.37"
erjo@2057 5 CATEGORY="development"
erjo@2057 6 SHORT_DESC="URI::Escape module is a Perl extension."
erjo@2057 7 MAINTAINER="erjo@slitaz.org"
erjo@2057 8 DEPENDS="perl"
erjo@2057 9 BUILD_DEPENDS="perl"
erjo@2057 10 SOURCE="URI"
erjo@2057 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@2057 12 WEB_SITE="http://cpan.org/"
erjo@2057 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
erjo@2057 14
erjo@2057 15 # Rules to configure and make the package.
erjo@2057 16 compile_rules()
erjo@2057 17 {
erjo@2057 18 cd $src
erjo@2057 19 perl Makefile.PL &&
erjo@2057 20 make &&
erjo@2057 21 make DESTDIR=$PWD/_pkg install
erjo@2057 22 }
erjo@2057 23
erjo@2057 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2057 25 genpkg_rules()
erjo@2057 26 {
erjo@2057 27 mkdir -p $fs/usr
erjo@2057 28 cp -a $_pkg/usr/lib $fs/usr
erjo@2057 29 }
erjo@2057 30