aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-05-17 14:38:26 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-05-17 14:38:26 +0000
commit7c9a29869d85de80dc97b7a9207a585b343f58ab (patch)
tree6bc4d856e1a0c5e7d72f38e07b78f1ff917348f4 /main
parent06fd324bb5b52d284a5ad794dab51b7854ad4a7d (diff)
downloadaports-7c9a29869d85de80dc97b7a9207a585b343f58ab.tar.bz2
aports-7c9a29869d85de80dc97b7a9207a585b343f58ab.tar.xz
main/perl-xml-sax-base: move to main for building perl-xml-base
Diffstat (limited to 'main')
-rw-r--r--main/perl-xml-sax-base/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/perl-xml-sax-base/APKBUILD b/main/perl-xml-sax-base/APKBUILD
new file mode 100644
index 0000000000..247bdc9417
--- /dev/null
+++ b/main/perl-xml-sax-base/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=perl-xml-sax-base
+pkgver=1.08
+pkgrel=1
+pkgdesc="Base class SAX Drivers and Filters"
+url="http://search.cpan.org/dist/XML-SAX-Base"
+arch="noarch"
+license="GPL"
+depends="perl"
+depends_dev=""
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz"
+
+_builddir="$srcdir"/XML-SAX-Base-$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="38c8c3247dfd080712596118d70dbe32 XML-SAX-Base-1.08.tar.gz"
+sha256sums="666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e XML-SAX-Base-1.08.tar.gz"
+sha512sums="2149a4772b10d31b6d0f4f0cf8d07145cdb103de518d3055f09ed921748a5b6c8269c9d7c017e865b8c251a3e930cf752eb33780d5291b4287c003af3b6ff47f XML-SAX-Base-1.08.tar.gz"