blob: 0f9d8e6b58f0774687e6015041b1a36991c7b17f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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.0128
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="9904690371679e082ff2c23677b6c90e XML-LibXML-2.0128.tar.gz"
sha256sums="26e7ba451f3bade4d29ff00653a2ee01d13fe38b9a2ebcd0b0f3f82f9f688f2b XML-LibXML-2.0128.tar.gz"
sha512sums="c388570d0a140f3b92ab9922d9c917fba791e804b160822eeff91923891059ba189ad3743f2ffd13f7f4c92a3e8db1ee5fae588007d3fcf50251d9803e8e261b XML-LibXML-2.0128.tar.gz"
|