summaryrefslogtreecommitdiff
path: root/system/perl-test-leaktrace
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 06:10:59 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 06:10:59 -0500
commit7e1b023725fd17d856b455773611040c2c85c153 (patch)
tree2d2326cb3b55754fe295d1f898f5281ef70f49ad /system/perl-test-leaktrace
parent2cc203cfb9bbd48ed7919116718a183e5a164637 (diff)
downloadpackages-7e1b023725fd17d856b455773611040c2c85c153.tar.gz
packages-7e1b023725fd17d856b455773611040c2c85c153.tar.bz2
packages-7e1b023725fd17d856b455773611040c2c85c153.tar.xz
packages-7e1b023725fd17d856b455773611040c2c85c153.zip
system/perl-test-leaktrace: pull in for perl-cpanel-json-xs
Diffstat (limited to 'system/perl-test-leaktrace')
-rw-r--r--system/perl-test-leaktrace/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/system/perl-test-leaktrace/APKBUILD b/system/perl-test-leaktrace/APKBUILD
new file mode 100644
index 000000000..6e63eafa7
--- /dev/null
+++ b/system/perl-test-leaktrace/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-leaktrace
+_pkgreal=Test-LeakTrace
+pkgver=0.16
+pkgrel=0
+pkgdesc="Traces memory leaks"
+url="http://search.cpan.org/dist/Test-LeakTrace/"
+arch="all"
+license="GPL-2.0-only OR Artistic-1.0-Perl"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/$_pkgreal-$pkgver.tar.gz
+ "
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ cd "$builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="6fa7a5eaae01ca5232f3f297a104553dac5f57e4c6721d7084e5d44b0133206100878c7067b228b1e01b21f7639a97a0ec48ef77198deb0598d94d8861bab049 Test-LeakTrace-0.16.tar.gz"