mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 20:57:16 +08:00
30 lines
949 B
Bash
30 lines
949 B
Bash
|
# $Id: PKGBUILD 74527 2010-03-31 12:51:56Z giovanni $
|
||
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
||
|
# Contributor: Manolis Tzanidakis
|
||
|
# Contributor: Francois Charette <francois.archlinux.org>
|
||
|
|
||
|
pkgname=perl-io-socket-ssl
|
||
|
_cpanname=IO-Socket-SSL
|
||
|
pkgver=1.33
|
||
|
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')
|
||
|
options=(!emptydirs)
|
||
|
source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_cpanname}-${pkgver}.tar.gz)
|
||
|
md5sums=('e288b5cda3de1f4cbf15e2eb709e9d7c')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${_cpanname}-${pkgver}
|
||
|
# install module in vendor directories.
|
||
|
perl Makefile.PL 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
|
||
|
}
|