Commit 2e9e4387 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/perl-sql-abstract-classic: new aport

Generate SQL from Perl data structures
https://metacpan.org/release/SQL-Abstract-Classic/

needed by perl-dbix-class
parent 8472c3b1
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-sql-abstract-classic
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=SQL-Abstract-Classic
pkgver=1.91
pkgrel=0
pkgdesc="Generate SQL from Perl data structures"
url="https://metacpan.org/release/SQL-Abstract-Classic/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-sql-abstract perl-mro-compat"
makedepends="perl-dev perl-test-warn perl-test-exception perl-test-deep"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/SQL-Abstract-Classic-$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
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
a2389c04889ea09fc6512f955f8a383d1f51839f584a0be16aab33dec72b67214d0f22d55c666fa0ddeaa32e5c6fc91e1e50541d52e71beeb3b3d85af21a9643 SQL-Abstract-Classic-1.91.tar.gz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment