# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-net-ssleay _realname=Net-SSLeay pkgver=1.48 pkgrel=0 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="4e10d9da28f26732e37807820bf72af5 Net-SSLeay-1.48.tar.gz"