aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-crypt-openssl-rsa
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2011-10-17 08:22:17 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2011-10-17 09:29:35 +0000
commitbdba5b3489f29872b0076cdd7ffeaa11600b3240 (patch)
treec151879ec9a14460f207ccce8da01ebb0e9d562e /main/perl-crypt-openssl-rsa
parent3ddf40de9eed5ab51661c4e2e512e072c646ef61 (diff)
downloadaports-bdba5b3489f29872b0076cdd7ffeaa11600b3240.tar.bz2
aports-bdba5b3489f29872b0076cdd7ffeaa11600b3240.tar.xz
main/perl-crypt-openssl-rsa: upgrade to 0.28
Diffstat (limited to 'main/perl-crypt-openssl-rsa')
-rw-r--r--main/perl-crypt-openssl-rsa/APKBUILD28
1 files changed, 19 insertions, 9 deletions
diff --git a/main/perl-crypt-openssl-rsa/APKBUILD b/main/perl-crypt-openssl-rsa/APKBUILD
index 916d293dc2..dcf7308537 100644
--- a/main/perl-crypt-openssl-rsa/APKBUILD
+++ b/main/perl-crypt-openssl-rsa/APKBUILD
@@ -1,27 +1,37 @@
-# Contributor: Leonardo Arena <rnalrd@gmail.com>
-# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-crypt-openssl-rsa
_realname=Crypt-OpenSSL-RSA
-pkgver=0.27
+pkgver=0.28
pkgrel=0
pkgdesc="RSA encoding and decoding, using the openSSL libraries"
-url="http://search.cpan.org/~iroberts"
+url="http://search.cpan.org/~perler/"
arch="all"
-license="Unknown"
+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/T/TO/TODDR/$_realname-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/$_realname-$pkgver.tar.gz"
-build() {
- cd "$srcdir/$_realname-$pkgver"
+_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="08ed5352354116a88a7922ba2da57efa Crypt-OpenSSL-RSA-0.27.tar.gz"
+md5sums="86217a5036fc63779c30420b5fd84129 Crypt-OpenSSL-RSA-0.28.tar.gz"