wok view perl-libwww/receipt @ rev 25092
updated pari and pari-dev (2.11.3 -> 2.13.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 10:01:45 2022 +0100 (2022-06-18) |
parents | 15650f5d595b |
children | 0af8df0b46fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-libwww"
4 VERSION="6.04"
5 CATEGORY="development"
6 SHORT_DESC="A set of Perl modules which provides a simple and consistent API to the WWW"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 DEPENDS="perl-uri perl-html-parser perl-encode-locale perl-file-listing \
10 perl-html-parser perl-http-cookies perl-http-daemon perl-http-date \
11 perl-http-negotiate perl-http-message perl-lwp-mediatypes perl-mime-base64 \
12 perl-net-ftp perl-net-http perl-www-robotrules"
13 BUILD_DEPENDS="perl $DEPENDS"
14 SOURCE="libwww-perl"
15 TARBALL="$SOURCE-$VERSION.tar.gz"
16 WEB_SITE="https://metacpan.org/release/libwww-perl/"
17 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 perl Makefile.PL &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 }