aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-04-16 12:38:54 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-04-16 12:43:22 +0000
commit6e931cf1897524f082de0e791d740390ff5e717c (patch)
treebf85bc2fc76163dc8d3fcd2be71ce329bc325bfb
parent0545017941f73f38fbba59c0cddbd60f84296a5b (diff)
downloadaports-6e931cf1897524f082de0e791d740390ff5e717c.tar.bz2
main/perl-crypt-openssl-guess: new aport
-rw-r--r--main/perl-crypt-openssl-guess/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/main/perl-crypt-openssl-guess/APKBUILD b/main/perl-crypt-openssl-guess/APKBUILD
new file mode 100644
index 0000000..a165aa6
--- /dev/null
+++ b/main/perl-crypt-openssl-guess/APKBUILD
@@ -0,0 +1,48 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor:
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-crypt-openssl-guess
+_pkgreal=Crypt-OpenSSL-Guess
+pkgver=0.11
+pkgrel=0
+pkgdesc="Guess OpenSSL include path"
+url="http://search.cpan.org/dist/Crypt-OpenSSL-Guess/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+cpancheckdepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AK/AKIYM/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare
+
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+check() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+sha512sums="cdae7f20a15d24842cf117bfba4f3bc0ec7d1066251e0480cbadd8f0aa28c9c9573905726fc1333ea9fbbb3769a67dbf28043de8487dcce27dab5d14a0848b09 Crypt-OpenSSL-Guess-0.11.tar.gz"