summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:04:09 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-05-22 21:04:09 +0000
commit96e757787d7c21abe70cc0ed9d64f3d9243da2cc (patch)
treeb5a8c35ee568847abdfe817a5c20c84f69a0d88a /testing
parentac91f458d3675c3389392a5ddd64adde5bc1fd32 (diff)
downloadaports-96e757787d7c21abe70cc0ed9d64f3d9243da2cc.tar.bz2
aports-96e757787d7c21abe70cc0ed9d64f3d9243da2cc.tar.xz
testing/perl-xml-sax: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-xml-sax/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/perl-xml-sax/APKBUILD b/testing/perl-xml-sax/APKBUILD
new file mode 100644
index 000000000..6f12f4fe2
--- /dev/null
+++ b/testing/perl-xml-sax/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=perl-xml-sax
+pkgver=0.99
+pkgrel=0
+pkgdesc="Simple API for XML"
+url="http://search.cpan.org/dist/XML-SAX"
+arch="all"
+license="GPL"
+depends="perl-xml-sax-base perl-xml-namespacesupport"
+depends_dev="perl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz
+ perl-xml-sax.patch"
+
+_builddir="$srcdir"/XML-SAX-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="290f5375ae87fdebfdb5bc3854019f24 XML-SAX-0.99.tar.gz
+f114c4aad3221d3e7d8314d13b84a869 perl-xml-sax.patch"
+sha256sums="32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6f5ad84 XML-SAX-0.99.tar.gz
+cf5452ccd81b7eb9cd50315a25747099628a6c0442ea3a6c3849edc3e7e4af18 perl-xml-sax.patch"
+sha512sums="f0c55efee4e3010deb474377394f9635bd8adc50108b562aeef54a2eef312cf87fb240d0495b5a5bd0c4cd5251db1bc74ba6cb549614708b1627f330959735e1 XML-SAX-0.99.tar.gz
+aca374f7a523ca8db57651789d83950bf77fce5e230fe5f2ba84880fe0602943d381ef08f9519d6fcf584d1b5ae8e33478ae536bbfbdb26202f31a0676f417a1 perl-xml-sax.patch"