blob: ef74c4ffd379b23b26d32fcfecb1241e05fd202a (
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
42
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-xml-libxml-simple
_pkgreal=XML-LibXML-Simple
pkgver=0.97
pkgrel=0
pkgdesc="XML::LibXML based XML::Simple clone"
url="http://search.cpan.org/dist/XML-LibXML-Simple/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-file-slurp-tiny perl-xml-libxml"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
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="402da3e6575af4fac52dc911c9935fb0 XML-LibXML-Simple-0.97.tar.gz"
sha256sums="1ccc5fb166586232c939b27244abf1bb7627c7d2fbabe33a654cfcf6c7a416bd XML-LibXML-Simple-0.97.tar.gz"
sha512sums="5607218a0ee7cd08f6e166af30f38ac7942e36e32469836f9b09d3802f32d8c5ca965fe6870823679523721241530eab9a5235dc376b2ce362d70a78b9c2d8f7 XML-LibXML-Simple-0.97.tar.gz"
|