Skip to content
Snippets Groups Projects
Verified Commit 6e2d7d30 authored by Dan Theisen's avatar Dan Theisen
Browse files

user/perl-devel-checkcompiler: new package

parent 5750f059
No related branches found
No related tags found
No related merge requests found
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-devel-checkcompiler
pkgver=0.07
pkgrel=0
pkgdesc="Check the compiler's availability"
url="https://metacpan.org/pod/Devel::CheckCompiler"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
makedepends="perl-dev perl-module-build-tiny"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SY/SYOHEX/Devel-CheckCompiler-$pkgver.tar.gz"
builddir="$srcdir/Devel-CheckCompiler-$pkgver"
prepare() {
cd "$builddir"
perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build
}
check() {
cd "$builddir"
./Build test
}
package() {
cd "$builddir"
./Build install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="147fbdab382ff40bf1402d2d6be1143fe77403cd2444e854fdf11eb02e8acdcab8cb6bbdd7f3aef01cc64fac2862efaa044c5148c7770b84b464f7360c399d7a Devel-CheckCompiler-0.07.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