mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-06 03:12:04 +01:00
https://metacpan.org/release/Protocol-Database-PostgreSQL/ PostgreSQL wire protocol implementation
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-protocol-database-postgresql
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Protocol-Database-PostgreSQL
|
|
pkgver=2.000
|
|
pkgrel=0
|
|
pkgdesc="PostgreSQL wire protocol implementation"
|
|
url="https://metacpan.org/release/Protocol-Database-PostgreSQL/"
|
|
arch="noarch !armhf !armv7 !x86" # perl-ryu
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-adapter-async perl-check-unitcheck
|
|
perl-future perl-indirect perl-log-any perl-ryu
|
|
perl-sub-identify perl-unicode-utf8
|
|
"
|
|
checkdepends="
|
|
perl-log-any-adapter-tap perl-test-checkdeps
|
|
perl-test-fatal perl-test-hexstring perl-test-refcount
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/Protocol-Database-PostgreSQL-$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
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
98d08b9f0b5c01733f13e7633f44db533b89d4a504228eaf5a2de2f3034c963f70ec172551fac4dfeffc7609bdc0045bc3a3d93986de0186eea3c97323445a79 Protocol-Database-PostgreSQL-2.000.tar.gz
|
|
"
|