mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 02:11:16 +02:00
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# 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.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 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 && make test
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
md5sums="484308164ecab1d7d0eddf4dc4c9c0ca XML-LibXML-2.0117.tar.gz"
|
|
sha256sums="5767c90f34ffd3762d7800a64c7190a2635c941a41a73e1156fa791b0652bac0 XML-LibXML-2.0117.tar.gz"
|
|
sha512sums="21dd53f75cbe7698a6f4cca09206ad7fa367877b18242fccfed513ba3b548067c8149a23de72759eedda37c1674a0bc5ce2366e14ec777edee76a6c15a43f3a3 XML-LibXML-2.0117.tar.gz"
|