aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-xml-generator/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-xml-generator/APKBUILD')
-rw-r--r--unmaintained/perl-xml-generator/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-xml-generator/APKBUILD b/unmaintained/perl-xml-generator/APKBUILD
new file mode 100644
index 0000000000..9799151902
--- /dev/null
+++ b/unmaintained/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"