blob: e9ad9f87240f2bec0339c135a8abf2e9afde1ddc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-libwww
_realname=libwww-perl
pkgver=6.15
pkgrel=0
pkgdesc="Perl module - World Wide Web library"
url="http://search.cpan.org/~mschilli"
arch="noarch"
license="GPL PerlArtistic"
depends="perl-http-date perl-http-cookies perl-net-http perl-http-daemon
perl-html-parser perl-file-listing perl-www-robotrules
perl-http-negotiate perl-uri perl-http-message
perl-lwp-mediatypes perl-encode-locale"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname-$pkgver.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
build() {
cd $_builddir
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make && make test || return 1
}
package() {
cd $_builddir
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="6888c9d8728cd6f3ea3c9754461c9f94 libwww-perl-6.15.tar.gz"
sha256sums="6f349d45c21b1ec0501c4437dfcb70570940e6c3d5bff783bd91d4cddead8322 libwww-perl-6.15.tar.gz"
sha512sums="b031f1b6766fe5433940abbda438013211e0f82713bfbe8f3512fd3dd64d2c7b1236d19bb9414094726a37ee91908ebca5269855a639d0fd921423163b227aed libwww-perl-6.15.tar.gz"
|