aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-crypt-openssl-random/APKBUILD
blob: facea56ee2571d08172428ace546cd5e6f3aa9ba (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.10
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="b89ca9314c3a066b440a7bb3cb8d725d  Crypt-OpenSSL-Random-0.10.tar.gz"
sha256sums="ae65d0ab6907edd1d67f87fdf0923ecae4d54c4c2e0ac9d9df97227903ccf18a  Crypt-OpenSSL-Random-0.10.tar.gz"
sha512sums="e1fd1de82910a58c3f40e097fab6bfde9fb6162b07ebeadd16ff406a547fbd9c0cf5b0d46bba13093a00d9fac0044d9b793668411dd758c0169512d79b8bc691  Crypt-OpenSSL-Random-0.10.tar.gz"