diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-22 21:02:55 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-22 21:02:55 +0000 |
commit | 532be22916577cd7cc1c9a72d293dc43362b6151 (patch) | |
tree | 303cdc60e648dade1bddbd5467f46f0671a3e8f7 | |
parent | e98ebf556bf0b911185edb1294a9142d293797bb (diff) | |
download | aports-532be22916577cd7cc1c9a72d293dc43362b6151.tar.bz2 aports-532be22916577cd7cc1c9a72d293dc43362b6151.tar.xz |
testing/perl-xml-libxml: new aport
-rw-r--r-- | testing/perl-xml-libxml/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-xml-libxml/APKBUILD b/testing/perl-xml-libxml/APKBUILD new file mode 100644 index 0000000000..88fcc992a7 --- /dev/null +++ b/testing/perl-xml-libxml/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=perl-xml-libxml +pkgver=2.0018 +pkgrel=0 +pkgdesc="Interface to the libxml library" +url="http://search.cpan.org/dist/XML-LibXML" +arch="all" +license="GPL" +depends="perl perl-xml-namespacesupport perl-xml-sax" +depends_dev="perl-dev libxml2-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz" + +_builddir="$srcdir"/XML-LibXML-$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="c5db1c6ba5f588802a5e1a15b5b6d653 XML-LibXML-2.0018.tar.gz" +sha256sums="8d2e49c95e3bb8fb20952fdc7af7b7a972d89a64456bf8d6d62a874e0a0fffc8 XML-LibXML-2.0018.tar.gz" +sha512sums="b16269ff493ef26c9786bc739b171344c48096e76a9b14b99873ad66de6702b47da3df6a67c7f5d570f46e6d2ac2a82f928666d740c42e6e290ea6ce39a4ef7f XML-LibXML-2.0018.tar.gz" |