mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-xml-xpathengine: new aport
This commit is contained in:
parent
7102613911
commit
2eb94277e3
1 changed files with 37 additions and 0 deletions
37
testing/perl-xml-xpathengine/APKBUILD
Normal file
37
testing/perl-xml-xpathengine/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-xml-xpathengine
|
||||
pkgver=0.14
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=XML-XPathEngine
|
||||
pkgdesc="a re-usable XPath engine for DOM-like trees"
|
||||
url="https://metacpan.org/release/XML-XPathEngine/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/M/MI/MIROD/XML-XPathEngine-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
2af1733ab3c7601543558b363109385b8fff93da2ac7c502966fee9df5d6c7dd7efe34cc671fa56e68dc2804365229731abd1880812f6f7064b28a9096842ec9 XML-XPathEngine-0.14.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue