mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-28 09:51:46 +02:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-devel-leak
|
|
_pkgreal=Devel-Leak
|
|
pkgver=0.03
|
|
pkgrel=4
|
|
pkgdesc="Utility for looking for perl objects that are not reclaimed"
|
|
url="http://search.cpan.org/dist/Devel-Leak/"
|
|
arch="all"
|
|
license="GPL PerlArtistic"
|
|
cpandepends=""
|
|
cpanmakedepends=" "
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/$_pkgreal-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
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 && make test
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
md5sums="9ee2cf88bd1dbc6091e38ef4597b54bb Devel-Leak-0.03.tar.gz"
|
|
sha256sums="6f42c34f11e2b4e3ea2e0e6b9416a88a685add447910caf4d91dd2c178177252 Devel-Leak-0.03.tar.gz"
|
|
sha512sums="177f64b87fa6ab08b93f7c5bfcbaf4421e8431bf795976a0a7efa0120828984fed29a2bc12918e5bea9ea3edccf6316ba8daf704f349aece84b45bdd11f57707 Devel-Leak-0.03.tar.gz"
|