summaryrefslogtreecommitdiff
path: root/dev-db/sqliteodbc
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/sqliteodbc')
-rw-r--r--dev-db/sqliteodbc/Manifest8
-rw-r--r--dev-db/sqliteodbc/files/sqliteodbc-0.93-respect_LDFLAGS.patch30
-rw-r--r--dev-db/sqliteodbc/metadata.xml5
-rw-r--r--dev-db/sqliteodbc/sqliteodbc-0.96.ebuild41
-rw-r--r--dev-db/sqliteodbc/sqliteodbc-0.99.ebuild41
5 files changed, 125 insertions, 0 deletions
diff --git a/dev-db/sqliteodbc/Manifest b/dev-db/sqliteodbc/Manifest
new file mode 100644
index 000000000000..a822a048e70b
--- /dev/null
+++ b/dev-db/sqliteodbc/Manifest
@@ -0,0 +1,8 @@
+AUX sqliteodbc-0.93-respect_LDFLAGS.patch 1180 SHA256 f5864db1996857fb7a062e4d0b85f4d6501175f2b67fb7f5dbd6d4c7301755ab SHA512 083a9640d89976097a402483ebc16c1e5328e705fcea92d78a8f56988cc73b6f75143cf7f2f67b6a783f1bc9cd5ae5671aaf8d794c3548f764d6726cd78f6531 WHIRLPOOL 2c1f6ebfad72f8a9c049a8426db15df9c056470e64bdceefd513c95fa3ee8214ddc0a75a17d0591ff925658cfaa77855bbeccc544150595380b65b561e047703
+DIST sqliteodbc-0.96.tar.gz 670070 SHA256 a5b5a1679e9cbd8cd473079d047c5277b8a57d5875fe35f1e1e576816590bf7f SHA512 447798bbc018890a784abc6b75909fbf9ecd285d6ead3ed437727041ba3ff20ef3ceb1dfe4efb713717b7df2431fd52933e6bcafc2405674cf76518dd5b39435 WHIRLPOOL ded290078b20a32e9d859c0b28297947b9c0df62d66fa64c41d789dea2e2166aed43446a864a3a7ece6cfe7cdc6594dc26558dfda6a45c21bdd869f8fcad81b1
+DIST sqliteodbc-0.99.tar.gz 696992 SHA256 3ae5f5ee80d5e2f051e1436b82fec21ef17ab2ecd5d9f1fa647669f0412573a8 SHA512 adf213acee4ee69c299f39582887fd2adba3856ce6d298d250e3a96744d041c720cefb7fd8acd504c41461751b46b8a729c4fbfa7e56832fb6e4c5a1c537955d WHIRLPOOL 7153a8c2655a7f0f55c604cf86153a286f8c4716c232b77ff5e5f1f601f457a3101d52464e41a61347c1465b2d08297fc29949effd0d0b4fe8212e3b6b73589e
+EBUILD sqliteodbc-0.96.ebuild 800 SHA256 2c3a80c3450ab2088bca7d64d681acb53ed3b64c8c17e6dffd0d9ac19898abf1 SHA512 27a9cef0023a198be47f4b4dfdfff8b9d57043d09e35031049cb3520f631f5feec01940ac7a7325e0e478a914c1a53db2298c035acd916d0f1d1d480158a6105 WHIRLPOOL ef0796beba93bd3b575c02435ed062cb6b6a78d8f88a5d64af74665811f47d98ca800d0beda0e940209394be78dea839d06c132a7e9781a29a5cb84cf917ff14
+EBUILD sqliteodbc-0.99.ebuild 823 SHA256 79c48432eceb195b2a10a4fe449e6d137567aafccb57544c5c66ec375ccfea56 SHA512 3db5f1cee8919f6bb832c7799f7cc6a3d4b41818bd01bf7060b59bf6df62861ab72357090c9c755f6b811db94798eea93a663bcaf5fd714df1f2c582e93dc811 WHIRLPOOL 1e3a4e1dd3c838c15e534223a39d80ef878ef1ac02d39d257b0e05f8bfeb401dd2e629518f2f858674ec4fc6be3bc178c01c6775efa5fe2a2ecc7fde7442ce6d
+MISC ChangeLog 2631 SHA256 a9eedd10c085f3385a441f58ce473effe52f366461d31fc3a1433a34bb254361 SHA512 da2ef9ec459d93d244099150be1702c93eba1696a44ec2036f37c7cee18d9d4032f5f2f950fa15ec1dc6670cb9a1d4ab1978977cc531d822b927e4eafc64ec1a WHIRLPOOL 8f8bfa3c50ff4548ebf905b2366c8884bab2329a5fc430fc969653b495201ff5a13c399904943fb4d25e526eec925bcca6d67e858f1b70789714c604ccbbbb4b
+MISC ChangeLog-2015 5291 SHA256 6260404841a7b79c1c43e83d0adaf8f1a35194b3514ece3d8a279097991ec3cf SHA512 06241eaf794782d610b59994a608a19125e14a4bcd6e237a82988a27d2b683fe0855e54d43e8eab6782370f9477ffa4b6ae938c9a330141f83700eb3c5cbdc5a WHIRLPOOL 56cff35af5a6b489e75d49a44f5a86787ca0399d7e7314598635a1695306a9a5c70ef28b84f978702ab7bcc2945c17346d3b203bfd70de3f409147590e472801
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/dev-db/sqliteodbc/files/sqliteodbc-0.93-respect_LDFLAGS.patch b/dev-db/sqliteodbc/files/sqliteodbc-0.93-respect_LDFLAGS.patch
new file mode 100644
index 000000000000..129ce3e65ff3
--- /dev/null
+++ b/dev-db/sqliteodbc/files/sqliteodbc-0.93-respect_LDFLAGS.patch
@@ -0,0 +1,30 @@
+--- Makefile.in.old 2012-03-24 12:57:34.533234122 +0100
++++ Makefile.in 2012-03-24 12:58:06.908198492 +0100
+@@ -37,23 +37,23 @@
+ all: @LIB_TARGETS@
+
+ libsqliteodbc.la: sqliteodbc.lo
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libsqliteodbc.la \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libsqliteodbc.la \
+ sqliteodbc.lo -rpath $(drvdir) $(SQLITE_LIB) \
+ $(ODBC_LIB) -release $(VER_INFO)
+
+ libsqlite3odbc.la: sqlite3odbc.lo $(SQLITE3_A10N_O)
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libsqlite3odbc.la \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libsqlite3odbc.la \
+ sqlite3odbc.lo $(SQLITE3_A10N_O) -rpath $(drvdir) \
+ $(SQLITE3_LIB) $(ODBC_LIB) -release $(VER_INFO) \
+ @DL_INITFINI@
+
+ libsqlite3_mod_blobtoxy.la: blobtoxy.lo
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
+ -o libsqlite3_mod_blobtoxy.la \
+ blobtoxy.lo -rpath $(drvdir) -release $(VER_INFO)
+
+ libsqlite3_mod_impexp.la: impexp.lo
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
+ -o libsqlite3_mod_impexp.la \
+ impexp.lo -rpath $(drvdir) -release $(VER_INFO)
+
diff --git a/dev-db/sqliteodbc/metadata.xml b/dev-db/sqliteodbc/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/dev-db/sqliteodbc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/dev-db/sqliteodbc/sqliteodbc-0.96.ebuild b/dev-db/sqliteodbc/sqliteodbc-0.96.ebuild
new file mode 100644
index 000000000000..79c2e94b6f81
--- /dev/null
+++ b/dev-db/sqliteodbc/sqliteodbc-0.96.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="ODBC driver to access local SQLite database files"
+HOMEPAGE="http://www.ch-werner.de/sqliteodbc/"
+SRC_URI="http://www.ch-werner.de/sqliteodbc/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86"
+IUSE=""
+
+DEPEND=">=dev-db/sqlite-3.6
+ || (
+ >=dev-db/unixODBC-2.2
+ >=dev-db/libiodbc-3.5
+ )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.93-respect_LDFLAGS.patch"
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ dodir "/usr/$(get_libdir)"
+ einstall
+ find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+ dodoc ChangeLog README
+}
diff --git a/dev-db/sqliteodbc/sqliteodbc-0.99.ebuild b/dev-db/sqliteodbc/sqliteodbc-0.99.ebuild
new file mode 100644
index 000000000000..b82e0f692fec
--- /dev/null
+++ b/dev-db/sqliteodbc/sqliteodbc-0.99.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="ODBC driver to access local SQLite database files"
+HOMEPAGE="http://www.ch-werner.de/sqliteodbc/"
+SRC_URI="http://www.ch-werner.de/sqliteodbc/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-db/sqlite-3.6
+ || (
+ >=dev-db/unixODBC-2.2
+ >=dev-db/libiodbc-3.5
+ )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.93-respect_LDFLAGS.patch"
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ dodir "/usr/$(get_libdir)"
+ emake DESTDIR="${D}" install
+ find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+ dodoc ChangeLog README
+}