From bef8f58b3884cca60f4acddce22b62380d0729e9 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 Jun 2018 06:02:02 -0500 Subject: system/perl-module-scandeps: pull in for perl-module-install --- system/perl-module-scandeps/APKBUILD | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 system/perl-module-scandeps/APKBUILD (limited to 'system/perl-module-scandeps') diff --git a/system/perl-module-scandeps/APKBUILD b/system/perl-module-scandeps/APKBUILD new file mode 100644 index 000000000..20d41f61b --- /dev/null +++ b/system/perl-module-scandeps/APKBUILD @@ -0,0 +1,45 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Stuart Cardall +# Maintainer: Adélie Perl Team +pkgname=perl-module-scandeps +_pkgreal=Module-ScanDeps +pkgver=1.24 +pkgrel=0 +pkgdesc="Recursively scan Perl code for dependencies" +url="http://search.cpan.org/dist/Module-ScanDeps/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpanmakedepends="perl-test-requires" +makedepends="perl-dev $cpanmakedepends perl-test-pod" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_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 +} + +package() { + cd "$builddir" + + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +check() { + cd "$builddir" + make test +} + +sha512sums="7f3d9821aa863d8ebc78fb5fb3c7172ce133169ec54ed91b90e05ba50654b4bd0282b3a760adfc8b6bd553dda4116dbf51972bb2af94b59f6f04daeba996e889 Module-ScanDeps-1.24.tar.gz" -- cgit v1.2.3-70-g09d2