summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD
index e144c03..dbdd4f8 100644
--- a/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD
+++ b/abs/core/perl_modules/perl-io-socket-ssl/PKGBUILD
@@ -1,33 +1,31 @@
-# $Id: PKGBUILD 163575 2012-07-16 03:26:30Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Manolis Tzanidakis
-# Contributor: Francois Charette <francois.archlinux.org>
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=perl-io-socket-ssl
-_cpanname=IO-Socket-SSL
-pkgver=1.76
+pkgver=2.056
pkgrel=1
pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET"
arch=('any')
license=('GPL' 'PerlArtistic')
-url="http://search.cpan.org/dist/${_cpanname}/"
-depends=('perl-net-ssleay' 'perl>=5.10.0')
+url="http://search.cpan.org/dist/IO-Socket-SSL/"
+depends=('perl-net-ssleay' 'perl' 'perl-uri')
+checkdepends=('perl-io-socket-inet6')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_cpanname}-${pkgver}.tar.gz)
-sha1sums=('b27cfff3b5cf03f223431317abda03d44d1a902d')
+source=(http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-${pkgver}.tar.gz)
+sha1sums=('281b20a3b50294b4362a7a7b9c631dc5a0d04b4c')
build() {
- cd "${srcdir}/${_cpanname}-${pkgver}"
- perl Makefile.PL INSTALLDIRS=vendor
+ cd IO-Socket-SSL-${pkgver}
+ yes | perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_cpanname}-${pkgver}"
+ cd IO-Socket-SSL-${pkgver}
make test
}
package() {
- cd "${srcdir}/${_cpanname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
+ cd IO-Socket-SSL-${pkgver}
+ make DESTDIR="${pkgdir}" install
}