wok annotate perl-xml-rss/receipt @ rev 18296
Up linux (3.2.71)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 17 11:03:13 2015 +0200 (2015-08-17) |
parents | 84e5f2e10ea6 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-xml-rss" |
pascal@9281 | 4 VERSION="1.48" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="XML::RSS module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@9281 | 9 DEPENDS="perl perl-xml-parser perl-datetime perl-datetime-format-mail \ |
pascal@9281 | 10 perl-datetime-format-w3cdtf" |
pascal@9281 | 11 BUILD_DEPENDS="wget $DEPENDS" |
pascal@9281 | 12 SOURCE="XML-RSS" |
pascal@9281 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 14 WEB_SITE="http://cpan.uwinnipeg.ca/dist/XML-RSS" |
pascal@9281 | 15 WGET_URL="http://cpan.uwinnipeg.ca/cpan/authors/id/S/SH/SHLOMIF/$TARBALL" |
pascal@9281 | 16 |
pascal@9281 | 17 # Rules to configure and make the package. |
pascal@9281 | 18 compile_rules() |
pascal@9281 | 19 { |
pascal@9281 | 20 cd $src |
pascal@9281 | 21 perl Makefile.PL && |
pascal@9281 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@9281 | 24 } |
pascal@9281 | 25 |
pascal@9281 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 27 genpkg_rules() |
pascal@9281 | 28 { |
pascal@9281 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 31 } |
pascal@9281 | 32 |