diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-25 19:03:30 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-25 19:03:30 -0500 |
commit | e1a98338ee60e3e49cb1198299fac961e2d99ea6 (patch) | |
tree | 65e2ddac795de4246a73e2ec9364d2a9c3ef4e1d /system | |
parent | ba333aacd1b242fae0bfc56f0ce082ba92953705 (diff) | |
download | packages-e1a98338ee60e3e49cb1198299fac961e2d99ea6.tar.gz packages-e1a98338ee60e3e49cb1198299fac961e2d99ea6.tar.bz2 packages-e1a98338ee60e3e49cb1198299fac961e2d99ea6.tar.xz packages-e1a98338ee60e3e49cb1198299fac961e2d99ea6.zip |
system/perl-module-build: pull in for po4a
Diffstat (limited to 'system')
-rw-r--r-- | system/perl-module-build/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/system/perl-module-build/APKBUILD b/system/perl-module-build/APKBUILD new file mode 100644 index 000000000..83ba709ca --- /dev/null +++ b/system/perl-module-build/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: +pkgname=perl-module-build +_pkgreal=Module-Build +pkgver=0.4224 +pkgrel=0 +pkgdesc="Build and install Perl modules" +url="http://search.cpan.org/dist/Module-Build/" +arch="noarch" +license="GPL-2.0-only AND Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + perl Build.PL installdirs=vendor +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="c08e84c542a882aa16a682a81cbb7a4860774a3f6a0ec2e720ba9e9bcea76dab331999fee86bf8b92edc08560d7cef4a7c2dfa4e626ab9b22da965e715af531f Module-Build-0.4224.tar.gz" |