mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-xml-libxml
|
|
_pkgreal=XML-LibXML
|
|
pkgver=2.0134
|
|
pkgrel=3
|
|
pkgdesc="Interface to Gnome libxml2 xml parsing and DOM library"
|
|
url="http://search.cpan.org/dist/XML-LibXML/"
|
|
arch="all"
|
|
license="GPL PerlArtistic"
|
|
cpandepends="perl-xml-sax perl-xml-namespacesupport"
|
|
cpanmakedepends=" "
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends libxml2-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="ecd39b8c268ab339d1363333feb4dcde2ec761fb29bc732625e8149ecb6f1c68eea8b76bfccb02df527518650cb3d1b8f14ae2fcd8255f117b5df68912ba2a08 XML-LibXML-2.0134.tar.gz"
|