aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-xml-libxml-simple
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:34:34 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:39:07 +0000
commitc80a109878cfa411243753f10e21ca495c074bc9 (patch)
treeacc987bf1565bae50a7dad7899e1d8e1f5b062a7 /community/perl-xml-libxml-simple
parent3ac8249c57c932016c27fd42ff2beb94c8120741 (diff)
downloadaports-c80a109878cfa411243753f10e21ca495c074bc9.tar.bz2
aports-c80a109878cfa411243753f10e21ca495c074bc9.tar.xz
community/perl-xml-libxml-simple: moved from testing
Diffstat (limited to 'community/perl-xml-libxml-simple')
-rw-r--r--community/perl-xml-libxml-simple/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-xml-libxml-simple/APKBUILD b/community/perl-xml-libxml-simple/APKBUILD
new file mode 100644
index 0000000000..ef74c4ffd3
--- /dev/null
+++ b/community/perl-xml-libxml-simple/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-xml-libxml-simple
+_pkgreal=XML-LibXML-Simple
+pkgver=0.97
+pkgrel=0
+pkgdesc="XML::LibXML based XML::Simple clone"
+url="http://search.cpan.org/dist/XML-LibXML-Simple/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-file-slurp-tiny perl-xml-libxml"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare || return 1
+
+ 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="402da3e6575af4fac52dc911c9935fb0 XML-LibXML-Simple-0.97.tar.gz"
+sha256sums="1ccc5fb166586232c939b27244abf1bb7627c7d2fbabe33a654cfcf6c7a416bd XML-LibXML-Simple-0.97.tar.gz"
+sha512sums="5607218a0ee7cd08f6e166af30f38ac7942e36e32469836f9b09d3802f32d8c5ca965fe6870823679523721241530eab9a5235dc376b2ce362d70a78b9c2d8f7 XML-LibXML-Simple-0.97.tar.gz"