wok annotate perl-uri-url/receipt @ rev 2260
squirrelmail plugins: post_remove -> pre_remove
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 16 08:04:20 2009 +0000 (2009-02-16) |
parents | |
children |
rev | line source |
---|---|
erjo@2057 | 1 # SliTaz package receipt. |
erjo@2057 | 2 |
erjo@2057 | 3 PACKAGE="perl-uri-url" |
erjo@2057 | 4 VERSION="1.37" |
erjo@2057 | 5 CATEGORY="development" |
erjo@2057 | 6 SHORT_DESC="URI::URL 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 |