diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 07:26:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 07:31:44 +0000 |
commit | 040891ed7db540e8598ccb44891dfadb7d82f203 (patch) | |
tree | 9d16734d12879308b52ce9b16d67a9983cbce4ab /testing | |
parent | 5fbc60a138387d8a1d556430c9e42c466f3dfa63 (diff) | |
download | aports-040891ed7db540e8598ccb44891dfadb7d82f203.tar.bz2 aports-040891ed7db540e8598ccb44891dfadb7d82f203.tar.xz |
testing/perl-xml-libxml: upgrade to 2.0117
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-xml-libxml/APKBUILD | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/testing/perl-xml-libxml/APKBUILD b/testing/perl-xml-libxml/APKBUILD index bb63cb0fd..fd145e1e2 100644 --- a/testing/perl-xml-libxml/APKBUILD +++ b/testing/perl-xml-libxml/APKBUILD @@ -1,34 +1,33 @@ +# Automatically generated by apkbuild-cpan, template 1 # Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-xml-libxml -pkgver=2.0018 -pkgrel=1 -pkgdesc="Interface to the libxml library" -url="http://search.cpan.org/dist/XML-LibXML" +_pkgreal=XML-LibXML +pkgver=2.0117 +pkgrel=0 +pkgdesc="Interface to Gnome libxml2 xml parsing and DOM 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="" +license="GPL PerlArtistic" +cpandepends="perl-xml-sax perl-xml-namespacesupport" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends libxml2-dev" subpackages="$pkgname-doc" -source="http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" -_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 + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test } package() { @@ -37,6 +36,6 @@ package() { 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" +md5sums="484308164ecab1d7d0eddf4dc4c9c0ca XML-LibXML-2.0117.tar.gz" +sha256sums="5767c90f34ffd3762d7800a64c7190a2635c941a41a73e1156fa791b0652bac0 XML-LibXML-2.0117.tar.gz" +sha512sums="21dd53f75cbe7698a6f4cca09206ad7fa367877b18242fccfed513ba3b548067c8149a23de72759eedda37c1674a0bc5ce2366e14ec777edee76a6c15a43f3a3 XML-LibXML-2.0117.tar.gz" |