wok-next annotate perl-uri/receipt @ rev 18223
Up tahoe-lafs (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 18 13:58:22 2015 +0200 (2015-07-18) |
parents | bb8447a6949e |
children | 1a86cb99cbbf |
rev | line source |
---|---|
pascal@4838 | 1 # SliTaz package receipt. |
pascal@4838 | 2 |
pascal@4838 | 3 PACKAGE="perl-uri" |
slaxemulator@10203 | 4 VERSION="1.58" |
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@14702 | 8 LICENSE="GPL" |
pascal@4838 | 9 DEPENDS="perl" |
pascal@4838 | 10 BUILD_DEPENDS="perl" |
pascal@4838 | 11 SOURCE="URI" |
pascal@4838 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@4838 | 13 WEB_SITE="http://cpan.org/" |
pascal@4838 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@4838 | 15 PROVIDE="perl-uri-escape perl-uri-file perl-uri-ldap perl-uri-url" |
pascal@4838 | 16 |
pascal@4838 | 17 # Rules to configure and make the package. |
pascal@4838 | 18 compile_rules() |
pascal@4838 | 19 { |
pascal@4838 | 20 cd $src |
pascal@4838 | 21 perl Makefile.PL && |
pascal@4838 | 22 make && |
slaxemulator@10203 | 23 make install DESTDIR=$DESTDIR |
pascal@4838 | 24 } |
pascal@4838 | 25 |
pascal@4838 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4838 | 27 genpkg_rules() |
pascal@4838 | 28 { |
pascal@4838 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@4838 | 31 } |
pascal@4838 | 32 |