wok-stable annotate perl-uri/receipt @ rev 7877
Up: yad (0.7.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 03 23:29:52 2011 +0100 (2011-01-03) |
parents | ff5cd7e10116 |
children | bb8447a6949e |
rev | line source |
---|---|
pascal@4838 | 1 # SliTaz package receipt. |
pascal@4838 | 2 |
pascal@4838 | 3 PACKAGE="perl-uri" |
slaxemulator@6247 | 4 VERSION="1.54" |
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 |