diff options
Diffstat (limited to 'unmaintained/perl-devel-checkos/APKBUILD')
-rw-r--r-- | unmaintained/perl-devel-checkos/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-devel-checkos/APKBUILD b/unmaintained/perl-devel-checkos/APKBUILD new file mode 100644 index 0000000000..b720962f98 --- /dev/null +++ b/unmaintained/perl-devel-checkos/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-devel-checkos +_pkgreal=Devel-CheckOS +pkgver=1.76 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Devel-CheckOS/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-data-compare perl-file-find-rule" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/$_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="700ce608fed7a0c0867371e6a6619098 Devel-CheckOS-1.76.tar.gz" +sha256sums="f83fb4cb8de060f607214b1e88c98ac6c4e065371e646fe896f16ea887aecb0c Devel-CheckOS-1.76.tar.gz" +sha512sums="e915281fdd57e6d804a7c2cd1c4fe5114ca02f61f7cc0ef0e9a9c8d23cb54f793d433804a301cc02d9a83fee34b71d9876795b133114c9697703ab7b1681353e Devel-CheckOS-1.76.tar.gz" |