aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-ssleay/APKBUILD
blob: 0a08ca661082b6af55fcca9b71f7d86ba5debff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-net-ssleay
_realname=Net-SSLeay
pkgver=1.63
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="9b95548e1ed415f8aeed0e004fa68226  Net-SSLeay-1.63.tar.gz"
sha256sums="8d127c37264bfd76bcd1e2a5dc745b9459c315380eda64c606cda2f4e2bc1b9d  Net-SSLeay-1.63.tar.gz"
sha512sums="de7d70a65033de0153fd828aa887ac60aeaabe43d6d80c679f43ea0b556d4e067152d9f7a3ea00958c09063453cf09937ac8c86d6289e444e3400c7cd905bfbc  Net-SSLeay-1.63.tar.gz"