aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-crypt-openssl-random/APKBUILD
blob: 2e1ff8f41fcf6884e7a840d54dd428b572b871a7 (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
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-crypt-openssl-random
_realname=Crypt-OpenSSL-Random
pkgver=0.06
pkgrel=0
pkgdesc="RSA encoding and decoding, using the openSSL libraries"
url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.04/"
arch="all"
license="Unknown"
depends="perl"
makedepends="perl-dev openssl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/$_realname-$pkgver.tar.gz"

_builddir="$srcdir"/$_realname-$pkgver

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="3771d3417f658d28f8682adc1e087136  Crypt-OpenSSL-Random-0.06.tar.gz"
sha256sums="efb4dfeec7688eb7e6a4a7d070cceed4ef7d74732c6f8ce123ae75490094d083  Crypt-OpenSSL-Random-0.06.tar.gz"
sha512sums="e646639055404ac9d12a6d2fd3501405b5379cef660b74efa1a28ffdb3463873c42906f33647af68739a834b6206dbee9cedb2c4792563f6987afe6ae01416a5  Crypt-OpenSSL-Random-0.06.tar.gz"