aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-sql-translator/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-sql-translator/APKBUILD')
-rw-r--r--testing/perl-sql-translator/APKBUILD32
1 files changed, 22 insertions, 10 deletions
diff --git a/testing/perl-sql-translator/APKBUILD b/testing/perl-sql-translator/APKBUILD
index 62685b694e..c26309343d 100644
--- a/testing/perl-sql-translator/APKBUILD
+++ b/testing/perl-sql-translator/APKBUILD
@@ -1,30 +1,40 @@
# Automatically generated by apkbuild-cpan, template 1
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-sql-translator
_pkgreal=SQL-Translator
-pkgver=0.11010
+pkgver=0.11021
pkgrel=0
-pkgdesc="SQL DDL transformations and more"
+pkgdesc="Perl module for SQL-Translator"
url="http://search.cpan.org/dist/SQL-Translator/"
arch="noarch"
-license="open_source"
-cpandepends="perl-carp-clan perl-file-sharedir perl-parse-recdescent perl-class-accessor perl-moo perl-digest-sha1 perl-class-base perl-class-makemethods perl-io-stringy perl-dbi perl-class-data-inheritable perl-xml-writer"
-cpanmakedepends="perl-test-differences perl-test-exception perl-yaml"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-yaml perl-dbi perl-moo perl-xml-writer perl-list-moreutils
+ perl-lwp-useragent-determined perl-test-exception perl-try-tiny
+ perl-parse-recdescent perl-test-differences perl-extutils-depends
+ perl-package-variant perl-file-sharedir perl-carp-clan perl-xml-libxml
+ perl-dbd-sqlite perl-dbd-pg perl-template-toolkit perl-cgi perl-graph
+ perl-gd perl-spreadsheet-parseexcel perl-test-postgresql perl-test-pod perl-json"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/J/JR/JROBINSON/$_pkgreal-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor" \
+ perl Makefile.PL
}
build() {
cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
@@ -34,4 +44,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="4a1578519f535f5df19deae8e3661242 SQL-Translator-0.11010.tar.gz"
+md5sums="7ef7dd297efd22fec3bc39e0bd03c50d SQL-Translator-0.11021.tar.gz"
+sha256sums="64cb38a9f78367bc115359a999003bbeb3c32cc75bba8306ec1a938fc441bfd1 SQL-Translator-0.11021.tar.gz"
+sha512sums="d8bd12932d522ff6feb6821e7fbe95e804861c1d07035185b05e5a151f4fd4ddec233fb43637700ba32aa3e252df5590281db9d38b553a791e9d4bf15f68d5f7 SQL-Translator-0.11021.tar.gz"