diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 06:17:08 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 06:17:08 -0500 |
commit | 6cc5611067d85c23f6cc398b1a9624b315cb4418 (patch) | |
tree | 0b10bb410dc1a85a45b7f3a36afc64e32b77b21c | |
parent | 84b571d3bf58ed204d5a8b1589c4783356148a61 (diff) | |
download | packages-6cc5611067d85c23f6cc398b1a9624b315cb4418.tar.gz packages-6cc5611067d85c23f6cc398b1a9624b315cb4418.tar.bz2 packages-6cc5611067d85c23f6cc398b1a9624b315cb4418.tar.xz packages-6cc5611067d85c23f6cc398b1a9624b315cb4418.zip |
system/perl-yaml-tiny: pull in for perl-module-install
-rw-r--r-- | system/perl-yaml-tiny/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/system/perl-yaml-tiny/APKBUILD b/system/perl-yaml-tiny/APKBUILD new file mode 100644 index 000000000..db3151174 --- /dev/null +++ b/system/perl-yaml-tiny/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-yaml-tiny +_pkgreal=YAML-Tiny +pkgver=1.73 +pkgrel=1 +pkgdesc="YAML manipulation library for Perl" +url="http://search.cpan.org/dist/YAML-Tiny/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="perl-json-maybexs" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_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 +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="5999e220025aa8076e5e0e9e73e80c2da21660e77f6744d73e8e29962221d02d33a36e9829c44abf7d4f45abae069d8e121c8019bd1600b7e64db5e54efd9987 YAML-Tiny-1.73.tar.gz" |