summaryrefslogtreecommitdiff
path: root/system/perl-yaml-syck/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 06:12:35 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 06:12:35 -0500
commit48056f22819e2776f328ebfe7f21742abb53cc4e (patch)
tree8446b6c73feffd38f256a97d4afc088df42a90af /system/perl-yaml-syck/APKBUILD
parent56724ddfe0a9bfee4c547159c8e8ebebadb6655a (diff)
downloadpackages-48056f22819e2776f328ebfe7f21742abb53cc4e.tar.gz
packages-48056f22819e2776f328ebfe7f21742abb53cc4e.tar.bz2
packages-48056f22819e2776f328ebfe7f21742abb53cc4e.tar.xz
packages-48056f22819e2776f328ebfe7f21742abb53cc4e.zip
system/perl-yaml-syck: pull in for xmlto
Diffstat (limited to 'system/perl-yaml-syck/APKBUILD')
-rw-r--r--system/perl-yaml-syck/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/system/perl-yaml-syck/APKBUILD b/system/perl-yaml-syck/APKBUILD
new file mode 100644
index 000000000..e912ec396
--- /dev/null
+++ b/system/perl-yaml-syck/APKBUILD
@@ -0,0 +1,48 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=perl-yaml-syck
+_pkgreal=YAML-Syck
+pkgver=1.30
+pkgrel=2
+pkgdesc="Fast, lightweight YAML loader and dumper"
+url="http://search.cpan.org/dist/YAML-Syck/"
+arch="all"
+license="MIT"
+cpandepends=""
+cpanmakedepends=""
+cpancheckdepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_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
+}
+
+check() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="3c38c77589c12652b456ad95120b3223df9e96475a9478692511bf6207ce81bc61204feaa332dbd913d934c41cf5d6515420961b31c20c9fe245373e81ecdda4 YAML-Syck-1.30.tar.gz"