mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 19:31:10 +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.0121
|
|
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="1544ab9ac110f5da296015346561ce02 XML-LibXML-2.0121.tar.gz"
|
|
sha256sums="ec431011cb37a04640fd2316f64d0405a274eece2c6f3847f7fbd336eb1c0dc9 XML-LibXML-2.0121.tar.gz"
|
|
sha512sums="1833d1e14d8a3b361bcacde910807a56e21cd08204f3fa58888a8c9219bd9228bfdc211af8f74b91ceda3135b4e72cbc60ef1d783afbe0febd100117904f29f1 XML-LibXML-2.0121.tar.gz"
|