mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-12 23:54:32 +02:00
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Maintainer: Michael Mason <ms13sp@gmail.com>
|
|
pkgname=perl-parse-syslog
|
|
pkgver=1.11
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Parse-Syslog
|
|
pkgdesc="Parse Unix syslog files"
|
|
url="https://metacpan.org/release/Parse-Syslog/"
|
|
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/D/DS/DSCHWEI/Parse-Syslog-$pkgver.tar.gz
|
|
remove-locale-tests.patch
|
|
"
|
|
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="
|
|
583b8c1bb7db358d8dadb68f5e5341e72a4243e5c93177eb14767b349600d306c37ca7f652cff5aa5d02aa0795f3ce29469b95528824a3602a4047a15e0d1a28 Parse-Syslog-1.11.tar.gz
|
|
30a8a88d5c2b1fc041f2c006c65451db77b59b82c48521c0ff0fe470ca35b833a45f0cc3ac22139e709b3b31db8e035d14ace29a6642059f13da67526317867e remove-locale-tests.patch
|
|
"
|