aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-yaml-tiny
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 14:49:49 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 14:49:49 +0000
commit8d3a43ff8de0122bb4df055902a748d0c9dccad8 (patch)
treedf06a847b514d977362a7db2a16f42d55f44e58c /community/perl-yaml-tiny
parent74578467f890e254436d44956c4a0653b5469486 (diff)
downloadaports-8d3a43ff8de0122bb4df055902a748d0c9dccad8.tar.bz2
aports-8d3a43ff8de0122bb4df055902a748d0c9dccad8.tar.xz
community/perl-yaml-tiny: mvoed from unmaintained
Diffstat (limited to 'community/perl-yaml-tiny')
-rw-r--r--community/perl-yaml-tiny/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/perl-yaml-tiny/APKBUILD b/community/perl-yaml-tiny/APKBUILD
new file mode 100644
index 0000000000..9739ba009c
--- /dev/null
+++ b/community/perl-yaml-tiny/APKBUILD
@@ -0,0 +1,40 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-yaml-tiny
+_pkgreal=YAML-Tiny
+pkgver=1.69
+pkgrel=0
+pkgdesc="Read/Write YAML files with as little code as possible"
+url="http://search.cpan.org/dist/YAML-Tiny/"
+arch="noarch"
+license="GPL PerlArtistic"
+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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="7deacd0ee428038407ccc5cd0b50f66f YAML-Tiny-1.69.tar.gz"
+sha256sums="bc8cb059492b9e4f7be1bcefd99dfa834b13438d48fd465c1e312223f584f592 YAML-Tiny-1.69.tar.gz"
+sha512sums="64c3428691f78d94bedf7f3b3276f7868d7280ca6d3c9a7a2e8137568d0da2fc94c766f9873f2796898386d6e7d3d1010c790fcc119f3d4d743becfa39d56a2c YAML-Tiny-1.69.tar.gz"