mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-08 06:47:09 +02:00
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
|
|
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
|
|
pkgname=perl-xml-xpath
|
|
_pkgreal=XML-XPath
|
|
pkgver=1.40
|
|
pkgrel=1
|
|
pkgdesc="A set of modules for parsing and evaluating XPath statements"
|
|
url="http://search.cpan.org/dist/XML-XPath/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends="perl-xml-parser perl-path-tiny"
|
|
cpanmakedepends=""
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/M/MA/MANWAR/$_pkgreal-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
sha512sums="80c6184346e861b61ec0f6b1c870d8551934976e8c1f5c887bb1fdbe0fc2dc966342f8baa45834f3e821e1cd86888d7fcc7f09097fd7a223bb7c1865b4bd65f4 XML-XPath-1.40.tar.gz"
|