summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/DBD-SQLite')
-rw-r--r--dev-perl/DBD-SQLite/DBD-SQLite-1.540.0.ebuild47
-rw-r--r--dev-perl/DBD-SQLite/Manifest1
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.540.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.540.0.ebuild
new file mode 100644
index 000000000000..37a479050a7d
--- /dev/null
+++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.540.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=ISHIGAKI
+DIST_VERSION=1.54
+inherit perl-module
+
+DESCRIPTION="Self Contained RDBMS in a DBI Driver"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="test system-sqlite"
+
+# NB: Get min sqlite version from sqlite3.c
+RDEPEND="
+ system-sqlite? (
+ >=dev-db/sqlite-3.10.2[extensions(+)]
+ )
+ >=dev-perl/DBI-1.570.0
+ !<dev-perl/DBD-SQLite-1
+ virtual/perl-Scalar-List-Utils
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.480.0
+ test? (
+ >=virtual/perl-File-Spec-0.820.0
+ >=virtual/perl-Test-Simple-0.420.0
+ )
+"
+
+src_prepare() {
+ perl-module_src_prepare
+ if use system-sqlite; then
+ einfo "Removing bundled SQLite"
+ # Flip Makefile into system mode.
+ sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die
+ # remove bundled sqlite (rt.cpan#61361)
+ for i in sqlite3{.c,.h,ext.h} ; do
+ rm ${i} || die
+ sed -i -e "/^${i}\$/d" MANIFEST || die
+ done
+ myconf="SQLITE_LOCATION=${EPREFIX}/usr"
+ fi
+}
diff --git a/dev-perl/DBD-SQLite/Manifest b/dev-perl/DBD-SQLite/Manifest
index 20ce937df0a0..f978c62666ae 100644
--- a/dev-perl/DBD-SQLite/Manifest
+++ b/dev-perl/DBD-SQLite/Manifest
@@ -1,3 +1,4 @@
DIST DBD-SQLite-1.48.tar.gz 1769115 SHA256 b397230f5d4cdc9923f91c62da9e535234f3055c528ede75afd7d24698030ea6 SHA512 9c00decdb6730c0e4be3fdd01fef6ebad0452cbe1b5141c23fee7d0c5ca0089f3cd4e5d70d331e959ec50546bb10154a3c2db4bfd27993912d5c788cef0a81ee WHIRLPOOL 8313333ba47203d2eb1434266af250dcfe9e360d697155d82bb24b6f0c0abf650d3cc787e6b9c93144e790de16aa1c318032626f867977b8dfeee92be53c3b12
DIST DBD-SQLite-1.50.tar.gz 2023829 SHA256 3ac513ab73944fd7d4b672e1fe885dc522b6369d38f46a68e67e0045bf159ce1 SHA512 6ef903ef5a08511caf962d255d1245d83398ca0c807d86463eae86d7408b8ec271e9d7176c120cf6843a12d3670114c1856c85bb737acad9ef79e630dd253c82 WHIRLPOOL ea39ae0eb6bc2202da7e64399e6b8a101944e31c33c2a872225cc28819c68017163a65ce548eff8547b7ad4ecf82b2692eaaf90a724cc0cd69d48a2de5d28f72
DIST DBD-SQLite-1.52.tar.gz 2136120 SHA256 a6da099e9b953262afafea18335930bede1f195fdead45bd3f00e690b158354e SHA512 589ab97af705ac8236951d73bdf88a571531ec3d3d75d8bf25c1e1c275fa89a01b907b0a25807fc926808872761ee1087ace47725c3f7a220972923996d3d2d4 WHIRLPOOL 2ffb00d32bdbce98db25979659ec489b4a5366539c209326ebc8b7d90741611ae93fb336c150ef10e5b2d1efa4952be20ae137753d9e6ed3e4c6228a4e99518f
+DIST DBD-SQLite-1.54.tar.gz 2136219 SHA256 3929a6dbd8d71630f0cb57f85dcef9588cd7ac4c9fa12db79df77b9d3a4d7269 SHA512 a8daff59679973467dff80c013b6ff9d7229a505b62c0312bdf7f9288af64dcd2e99f889b66eb98103b0e6ac7a9b0fa7c9c517c5c2673ee7f84b3b6b5d26173e WHIRLPOOL 9a5b7aa37a3e6996eb9eeeb783f3660cfcc5e3af153f0d1a0d81c3d1c088efcb176fdcabea2fb0e3b430be1a657484192516497fc9bab482e015df9c4be590b9