aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-crypt-openssl-dsa/APKBUILD
blob: e02619b0c9199a9442222c594e4f51dec97e5440 (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
38
39
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-crypt-openssl-dsa
_pkgreal=Crypt-OpenSSL-DSA
pkgver=0.14
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Crypt-OpenSSL-DSA/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends openssl-dev"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/$_pkgreal-$pkgver.tar.gz"

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

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make && make test
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="61d06e8fe9c12e96743989ff13c7ea73  Crypt-OpenSSL-DSA-0.14.tar.gz"
sha256sums="2d75e0c130eab43b8da5c85c27ea2b499bcf48f0a89b12fbb925cc74dc14a16f  Crypt-OpenSSL-DSA-0.14.tar.gz"
sha512sums="55bc9111a16e1c61572c6dc2da7e1ce6cf6de6736bf662d937268e514f2c7a1f9ee77228dac89cf3b6963c28727258756edf46f188c7b66f39f57140b04acbc6  Crypt-OpenSSL-DSA-0.14.tar.gz"