Skip to content
Snippets Groups Projects
Commit 34b85da4 authored by Roberto Oliveira's avatar Roberto Oliveira Committed by Natanael Copa
Browse files

main/perl-extutils-cchecker: upgrade to 0.10, modernize and add check

parent ce485c03
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: # Maintainer:
pkgname=perl-extutils-cchecker pkgname=perl-extutils-cchecker
_pkgreal=ExtUtils-CChecker _pkgreal=ExtUtils-CChecker
pkgver=0.09 pkgver=0.10
pkgrel=0 pkgrel=0
pkgdesc="Perl module configuration-time utilities for using C headers, libraries, or OS features" pkgdesc="Perl module configuration-time utilities for using C headers, libraries, or OS features"
url="http://search.cpan.org/dist/ExtUtils-CChecker/" url="http://search.cpan.org/dist/ExtUtils-CChecker/"
...@@ -10,23 +10,27 @@ arch="noarch" ...@@ -10,23 +10,27 @@ arch="noarch"
license="GPL PerlArtistic" license="GPL PerlArtistic"
depends="perl-test-exception" depends="perl-test-exception"
makedepends="perl-dev" makedepends="perl-dev"
checkdepends="perl-test-fatal perl-module-build"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$_builddir" cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make || return 1 make
}
check() {
cd "$builddir"
make test
} }
package() { package() {
cd "$_builddir" cd "$builddir"
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install
find "$pkgdir" -name .packlist -name perllocal.pod -delete find "$pkgdir" -name .packlist -name perllocal.pod -delete
} }
md5sums="2c7b30a367fc67851be44f9b4c98b652 ExtUtils-CChecker-0.09.tar.gz" sha512sums="8b43c559333d14d682a00a0fa956aff8b6b4209b7b442f330f9e8573b438dcd5a2d3b86582e2aad2f974c342acee3e79785b9816cb585807dba9b448a1626d4c ExtUtils-CChecker-0.10.tar.gz"
sha256sums="ebf167e3f98b4b1ff8e7a5e98d084558b87d0b19442f5da33233ef6b2eb66ad7 ExtUtils-CChecker-0.09.tar.gz"
sha512sums="51068985b7c62af407a600dc665031966abf45775ac1e4ce97d49474af070df86622db47a1248aaa8f89e3544f4937665287162cf3f80cbc930bf56d57d8d6b3 ExtUtils-CChecker-0.09.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment