mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
testing/perl-devel-leak: fix url fix license
This commit is contained in:
parent
1a382e1dad
commit
c1eaa27e50
1 changed files with 13 additions and 15 deletions
|
@ -3,35 +3,33 @@
|
||||||
pkgname=perl-devel-leak
|
pkgname=perl-devel-leak
|
||||||
_pkgreal=Devel-Leak
|
_pkgreal=Devel-Leak
|
||||||
pkgver=0.03
|
pkgver=0.03
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgdesc="Utility for looking for perl objects that are not reclaimed"
|
pkgdesc="Utility for looking for perl objects that are not reclaimed"
|
||||||
url="http://search.cpan.org/dist/Devel-Leak/"
|
url="https://metacpan.org/release/Devel-Leak"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL PerlArtistic"
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
cpandepends=""
|
makedepends="perl-dev"
|
||||||
cpanmakedepends=" "
|
|
||||||
depends="$cpandepends"
|
|
||||||
makedepends="perl-dev $cpanmakedepends"
|
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/$_pkgreal-$pkgver.tar.gz"
|
source="http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/$_pkgreal-$pkgver.tar.gz"
|
||||||
|
|
||||||
_builddir="$srcdir/$_pkgreal-$pkgver"
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$_builddir"
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
make
|
||||||
make && make test
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
make DESTDIR="$pkgdir" install
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
|
||||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue