blob: 4fdd03a735a9b380d64eaa10c6c1be796a45881f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-sql-translator
_pkgreal=SQL-Translator
pkgver=1.60
pkgrel=2
pkgdesc="SQL DDL transformations and more"
url="https://metacpan.org/release/SQL-Translator/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-try-tiny perl-parse-recdescent perl-package-variant
perl-carp-clan perl-sub-quote perl-dbi perl-file-sharedir perl-moo
perl-list-moreutils perl-yaml"
cpanmakedepends="perl-xml-writer perl-test-exception perl-test-differences perl-json perl-module-install"
cpancheckdepends="perl-gd perl-spreadsheet-parseexcel perl-test-postgresql perl-html-parser
perl-template-toolkit perl-graph perl-xml-libxml perl-cgi perl-dbd-sqlite perl-dbd-pg
perl-file-sharedir-install"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/I/IL/ILMARI/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="0306ee301fd006276c5eeb3a4fd67ee9929e936cfa588d5b55a1e8acdb133f55724f2dd878722f01a540ff3b7b4554a15e2402df62944be8a38a9cc37d581511 SQL-Translator-1.60.tar.gz"
|