blob: dcf7308537c53c6d9c4ed2e6c26c701b176a6698 (
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
34
35
36
37
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-crypt-openssl-rsa
_realname=Crypt-OpenSSL-RSA
pkgver=0.28
pkgrel=0
pkgdesc="RSA encoding and decoding, using the openSSL libraries"
url="http://search.cpan.org/~perler/"
arch="all"
license="Perl Artistic, GPL"
depends="perl perl-crypt-openssl-random"
makedepends="perl-dev openssl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/$_realname-$pkgver.tar.gz"
_builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd $_builddir
return 0
}
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="86217a5036fc63779c30420b5fd84129 Crypt-OpenSSL-RSA-0.28.tar.gz"
|