diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 18:53:24 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 18:53:24 -0500 |
commit | 7c14ac9e9e252e3fa98c7afb9137189ae02789b5 (patch) | |
tree | 110df7c9b20623e7d6975189c64367191edf9c1c /system | |
parent | 6fd9cae1e01eea630c517d4a98a7e24fb5dc7bda (diff) | |
download | packages-7c14ac9e9e252e3fa98c7afb9137189ae02789b5.tar.gz packages-7c14ac9e9e252e3fa98c7afb9137189ae02789b5.tar.bz2 packages-7c14ac9e9e252e3fa98c7afb9137189ae02789b5.tar.xz packages-7c14ac9e9e252e3fa98c7afb9137189ae02789b5.zip |
system/perl-test-warn: pull in for perl-net-ssleay
Diffstat (limited to 'system')
-rw-r--r-- | system/perl-test-warn/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/system/perl-test-warn/APKBUILD b/system/perl-test-warn/APKBUILD new file mode 100644 index 000000000..0be6991fb --- /dev/null +++ b/system/perl-test-warn/APKBUILD @@ -0,0 +1,45 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-warn +_pkgreal=Test-Warn +pkgver=0.36 +pkgrel=0 +pkgdesc="Perl extension to test methods for warnings" +url="http://search.cpan.org/dist/Test-Warn/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="perl-sub-uplevel" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/B/BI/BIGJ/$_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 Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="f1f671d740267f8f360011ae1f2fede9894ad02e099f8fc9707d39a1bfec5507b113bb630e4dfeb56113e121b3ffeef8c7f112be5b201995fc21b3c2efdad2d2 Test-Warn-0.36.tar.gz" |