diff options
Diffstat (limited to 'main/perl-crypt-openssl-rsa/APKBUILD')
-rw-r--r-- | main/perl-crypt-openssl-rsa/APKBUILD | 28 |
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" |