mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
47 lines
2.4 KiB
Bash
47 lines
2.4 KiB
Bash
|
# $Id: PKGBUILD 65528 2010-01-30 17:09:25Z andrea $
|
||
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||
|
# Contributor: Kevin Piche <kevin@archlinux.org>
|
||
|
# Contributor: Manolis Tzanidakis
|
||
|
|
||
|
pkgname=perl-libwww
|
||
|
_realname=libwww-perl
|
||
|
pkgver=5.834
|
||
|
pkgrel=2
|
||
|
pkgdesc="A set of Perl modules which provides a simple and consistent API to the WWW"
|
||
|
arch=('any')
|
||
|
license=('PerlArtistic')
|
||
|
url="http://search.cpan.org/dist/${_realname}/"
|
||
|
depends=('perl-uri' 'perl-html-parser' 'perl')
|
||
|
optdepends=('perl-crypt-ssleay: for SSL/TLS support')
|
||
|
options=('!emptydirs')
|
||
|
replaces=('libwww-perl')
|
||
|
provides=('perl-bundle-lwp' 'perl-file-listing=5.814' 'perl-html-form=5.829' 'perl-http-config=5.815'
|
||
|
'perl-http-cookies-microsoft' 'perl-http-cookies-netscape=5.832' 'perl-http-cookies=5.833'
|
||
|
'perl-http-daemon=5.827' 'perl-http-date=5.831' 'perl-http-headers-auth=5.817'
|
||
|
'perl-http-headers-etag=5.810' 'perl-http-headers-util=5.817' 'perl-http-headers=5.827'
|
||
|
'perl-http-message=5.834' 'perl-http-negotiate=5.813' 'perl-http-request-common=5.824'
|
||
|
'perl-http-request=5.827' 'perl-http-response=5.824' 'perl-http-status=5.817'
|
||
|
'perl-lwp-authen-basic' 'perl-lwp-authen-digest' 'perl-lwp-authen-ntlm' 'perl-lwp-conncache=5.810'
|
||
|
'perl-lwp-debug' 'perl-lwp-debugfile' 'perl-lwp-mediatypes=5.822' 'perl-lwp-membermixin'
|
||
|
'perl-lwp-protocol-cpan' 'perl-lwp-protocol-data' 'perl-lwp-protocol-file' 'perl-lwp-protocol-ftp'
|
||
|
'perl-lwp-protocol-ghttp' 'perl-lwp-protocol-gopher' 'perl-lwp-protocol-http' 'perl-lwp-protocol-http10'
|
||
|
'perl-lwp-protocol-https' 'perl-lwp-protocol-https10' 'perl-lwp-protocol-loopback' 'perl-lwp-protocol-mailto'
|
||
|
'perl-lwp-protocol-nntp' 'perl-lwp-protocol-nogo' 'perl-lwp-protocol=5.829' 'perl-lwp-robotua=5.827'
|
||
|
'perl-lwp-simple=5.827' 'perl-lwp-useragent=5.834' 'perl-lwp=5.834' 'perl-net-http-methods=5.834'
|
||
|
'perl-net-http-nb=5.810' 'perl-net-http=5.834' 'perl-net-https=5.819' 'perl-www-robotrules-anydbm_file=5.810'
|
||
|
'perl-www-robotrules=5.832')
|
||
|
source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
|
||
|
md5sums=('f2ed8a461f76556c9caed9087f47c86c')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${_realname}-${pkgver}
|
||
|
# install module in vendor directories.
|
||
|
perl Makefile.PL --aliases INSTALLDIRS=vendor || return 1
|
||
|
make || return 1
|
||
|
make install DESTDIR=${pkgdir} || return 1
|
||
|
|
||
|
# remove perllocal.pod and .packlist
|
||
|
find ${pkgdir} -name perllocal.pod -delete
|
||
|
find ${pkgdir} -name .packlist -delete
|
||
|
}
|