aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2019-05-06 06:43:22 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-05-06 06:45:19 +0000
commit470b1e0febaad1f7a9ec32b34675136059e49044 (patch)
tree3c75dfb47690f67e9c6a07d9d31e7d8ffdea0334 /main
parent7ec682e22419ec7b6a5ea9b256bc480c6f86d67d (diff)
downloadaports-470b1e0febaad1f7a9ec32b34675136059e49044.tar.bz2
aports-470b1e0febaad1f7a9ec32b34675136059e49044.tar.xz
main/perl-yaml: move from community
Needed by perl-package-stash-xs
Diffstat (limited to 'main')
-rw-r--r--main/perl-yaml/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/perl-yaml/APKBUILD b/main/perl-yaml/APKBUILD
new file mode 100644
index 0000000000..2edc8ccca6
--- /dev/null
+++ b/main/perl-yaml/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-yaml
+_pkgreal=YAML
+pkgver=1.28
+pkgrel=0
+pkgdesc="YAML Ain't Markup Language (tm)"
+url="http://search.cpan.org/dist/YAML/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-test-yaml"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+checkdepends="perl-test-deep"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ 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="a3adfa5c7e6660224549c68839f6fe9daff1315ec34f7ecd24a83a1a4f1207a769197196511344753901ed5cc2addc4799f408ffd01ce990a1c94352e58b9ff1 YAML-1.28.tar.gz"