# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-net-ssleay _realname=Net-SSLeay pkgver=1.74 pkgrel=1 pkgdesc="Perl extension for using OpenSSL" url="http://search.cpan.org/dist/Net-SSLeay/" arch="all" license="GPL" depends="perl" makedepends="perl-dev openssl-dev zlib-dev" install= subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-$pkgver.tar.gz" build() { cd "$srcdir/$_realname-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } package() { cd "$srcdir/$_realname-$pkgver" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } md5sums="bcf0938cbd94ba02397410cc9ba80c4b Net-SSLeay-1.74.tar.gz" sha256sums="167a955410168a6d617fbb11d8a40a5ebffaef950035fb072b3e9b6b706cbc7d Net-SSLeay-1.74.tar.gz" sha512sums="70f8e497ec36edbece29ec7111b50d9c617bac86b46b15ad63e00a62d75fd31d1c524de79ac5bfa12111295ba7429ffed18a6665125e904effd3f6396efee247 Net-SSLeay-1.74.tar.gz"