wok annotate perl-uri/receipt @ rev 5616
Up: midori (0.2.6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 26 10:14:09 2010 +0200 (2010-05-26) |
parents | |
children | 3e03020024db |
rev | line source |
---|---|
pascal@4838 | 1 # SliTaz package receipt. |
pascal@4838 | 2 |
pascal@4838 | 3 PACKAGE="perl-uri" |
pascal@4838 | 4 VERSION="1.37" |
pascal@4838 | 5 CATEGORY="development" |
pascal@4838 | 6 SHORT_DESC="URI::Escape, URI::File, URI::ldap and URI::URL modules are Perl extensions." |
pascal@4838 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@4838 | 8 DEPENDS="perl" |
pascal@4838 | 9 BUILD_DEPENDS="perl" |
pascal@4838 | 10 SOURCE="URI" |
pascal@4838 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@4838 | 12 WEB_SITE="http://cpan.org/" |
pascal@4838 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@4838 | 14 PROVIDE="perl-uri-escape perl-uri-file perl-uri-ldap perl-uri-url" |
pascal@4838 | 15 |
pascal@4838 | 16 # Rules to configure and make the package. |
pascal@4838 | 17 compile_rules() |
pascal@4838 | 18 { |
pascal@4838 | 19 cd $src |
pascal@4838 | 20 perl Makefile.PL && |
pascal@4838 | 21 make && |
pascal@4838 | 22 make DESTDIR=$PWD/_pkg install |
pascal@4838 | 23 } |
pascal@4838 | 24 |
pascal@4838 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4838 | 26 genpkg_rules() |
pascal@4838 | 27 { |
pascal@4838 | 28 mkdir -p $fs/usr |
pascal@4838 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@4838 | 30 } |
pascal@4838 | 31 |