wok-6.x annotate perl-xml-rss/receipt @ rev 23626
created recipe for ruby-native-package-installer
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 07:59:09 2020 +0100 (2020-04-16) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-xml-rss" |
Hans-G?nter@23415 | 4 VERSION="1.61" |
pascal@9281 | 5 CATEGORY="development" |
Hans-G?nter@23415 | 6 SHORT_DESC="Perl extension XML::RSS." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23415 | 9 WEB_SITE="https://metacpan.org/release/XML-RSS" |
Hans-G?nter@23415 | 10 |
pascal@9281 | 11 SOURCE="XML-RSS" |
pascal@9281 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23415 | 13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL" |
Hans-G?nter@23415 | 14 |
Hans-G?nter@23415 | 15 DEPENDS="perl perl-datetime perl-datetime-format-mail |
Hans-G?nter@23415 | 16 perl-datetime-format-w3cdtf perl-xml-parser" |
Hans-G?nter@23415 | 17 BUILD_DEPENDS="$DEPENDS" |
pascal@9281 | 18 |
pascal@9281 | 19 # Rules to configure and make the package. |
pascal@9281 | 20 compile_rules() |
pascal@9281 | 21 { |
pascal@9281 | 22 perl Makefile.PL && |
pascal@9281 | 23 make && |
pascal@14702 | 24 make DESTDIR=$DESTDIR install |
pascal@9281 | 25 } |
pascal@9281 | 26 |
pascal@9281 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 28 genpkg_rules() |
pascal@9281 | 29 { |
pascal@9281 | 30 mkdir -p $fs/usr |
Hans-G?nter@23415 | 31 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 32 } |