wok annotate perl-uri-escape/receipt @ rev 4121
lzma: show help
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 20 09:54:40 2009 +0200 (2009-09-20) |
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 |