aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-xml-generator
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:52 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:55 +0000
commit898a4208a2f8761886091d354b84f9bcf9bd247c (patch)
treee57365739845fd15e74bcf9e8364c3a4ce3b4089 /testing/perl-xml-generator
parentce826225e326bb478d44fa17a08fd5bd68060738 (diff)
downloadaports-898a4208a2f8761886091d354b84f9bcf9bd247c.tar.bz2
aports-898a4208a2f8761886091d354b84f9bcf9bd247c.tar.xz
testing/perl-xml-generator: new aport
Diffstat (limited to 'testing/perl-xml-generator')
-rw-r--r--testing/perl-xml-generator/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-xml-generator/APKBUILD b/testing/perl-xml-generator/APKBUILD
new file mode 100644
index 0000000000..9799151902
--- /dev/null
+++ b/testing/perl-xml-generator/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-xml-generator
+_pkgreal=XML-Generator
+pkgver=1.04
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/XML-Generator/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/B/BH/BHOLZMAN/$_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="1ea1e239bdf3fd6f762c484753776626 XML-Generator-1.04.tar.gz"
+sha256sums="b0b6e3b69ce2c08f2ba00a37041bce08a3524b8a76de7ef781e92bfac2d92994 XML-Generator-1.04.tar.gz"
+sha512sums="ce151a2d575c9ec4cd42819a5d573bfc4985e0daa3945c310d61bb0a6376e4b8a0dcef5ce89e444795d99c9751719d45981675d1418ba6d729d152187688d552 XML-Generator-1.04.tar.gz"