1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/perl-xml-libxslt/APKBUILD

46 lines
1.2 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-xml-libxslt
pkgver=2.003000
pkgrel=1
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=XML-LibXSLT
pkgdesc="Interface to GNOME libxslt library"
url="https://metacpan.org/release/XML-LibXSLT/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-xml-libxml"
makedepends="
perl-dev
libgcrypt-dev
libgpg-error-dev
libxml2-dev
libxslt-dev
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$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="
726af80f3f791afe8c0db1bdb75524c60d6560178759f9f37f8ad99da3f20c4712257e24fdc24635a40ac132e48cb3a86191a09e1245dc778806e85aecbd00dd XML-LibXSLT-2.003000.tar.gz
"