mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 18:47:15 +08:00
31 lines
746 B
Bash
31 lines
746 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
pkgname=perl-io-socket-ssl
|
|
_cpanname=IO-Socket-SSL
|
|
pkgver=1.66
|
|
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.14.2')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/S/SU/SULLR/${_cpanname}-${pkgver}.tar.gz)
|
|
sha1sums=('89d506e1241e9bb132599b7bbacb8b9e40d8dfe2')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_cpanname}-${pkgver}"
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${_cpanname}-${pkgver}"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_cpanname}-${pkgver}"
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|