mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-xml-libxml
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=XML-LibXML
|
|
pkgver=2.0208
|
|
pkgrel=1
|
|
pkgdesc="Interface to Gnome libxml2 xml parsing and DOM library"
|
|
url="https://metacpan.org/release/XML-LibXML/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-xml-sax perl-xml-sax-base perl-xml-namespacesupport"
|
|
makedepends="perl-dev perl-alien-libxml2 perl-alien-build libxml2-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
# broken with new libxml
|
|
options="!check"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
b8407359b9111b43247cc57b6e9e54c4e99402c9b7e939e49beb752be8fd1ce0e31a98e07dd5d1f7eaa7e37aae25571c38a14792f9e5a64c1533a0387c71423d XML-LibXML-2.0208.tar.gz
|
|
"
|