diff options
-rw-r--r-- | dev-db/sqliteodbc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/sqliteodbc/Manifest | 5 | ||||
-rw-r--r-- | dev-db/sqliteodbc/files/digest-sqliteodbc-0.64 | 1 | ||||
-rw-r--r-- | dev-db/sqliteodbc/files/sqliteodbc-0.64-gentoo.patch | 33 | ||||
-rw-r--r-- | dev-db/sqliteodbc/metadata.xml | 6 | ||||
-rw-r--r-- | dev-db/sqliteodbc/sqliteodbc-0.64.ebuild | 36 |
6 files changed, 90 insertions, 0 deletions
diff --git a/dev-db/sqliteodbc/ChangeLog b/dev-db/sqliteodbc/ChangeLog new file mode 100644 index 000000000000..b5a4aea5ca14 --- /dev/null +++ b/dev-db/sqliteodbc/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-db/sqliteodbc +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/ChangeLog,v 1.1 2005/04/22 20:27:44 arj Exp $ + +*sqliteodbc-0.64 (22 Apr 2005) + + 22 Apr 2005; Anders Rune Jensen <arj@gentoo.org> +sqliteodbc-0.64.ebuild: + New package. Fixes #56259. + diff --git a/dev-db/sqliteodbc/Manifest b/dev-db/sqliteodbc/Manifest new file mode 100644 index 000000000000..c75cb278e33c --- /dev/null +++ b/dev-db/sqliteodbc/Manifest @@ -0,0 +1,5 @@ +MD5 4948a42b1563d389b9bbbd1941e12934 metadata.xml 215 +MD5 6654763d2832650dc214876ede8cc02c ChangeLog 342 +MD5 38185d0102f620c139220f5d512ba6ac sqliteodbc-0.64.ebuild 809 +MD5 c0491eff8f0c25f53320c2fa4b009a1d files/digest-sqliteodbc-0.64 67 +MD5 f913bd86e7d47123636499d181ccddd8 files/sqliteodbc-0.64-gentoo.patch 1513 diff --git a/dev-db/sqliteodbc/files/digest-sqliteodbc-0.64 b/dev-db/sqliteodbc/files/digest-sqliteodbc-0.64 new file mode 100644 index 000000000000..ff06d70d1de8 --- /dev/null +++ b/dev-db/sqliteodbc/files/digest-sqliteodbc-0.64 @@ -0,0 +1 @@ +MD5 f2ebdac541838e6db0e897fd98c5f34e sqliteodbc-0.64.tar.gz 284413 diff --git a/dev-db/sqliteodbc/files/sqliteodbc-0.64-gentoo.patch b/dev-db/sqliteodbc/files/sqliteodbc-0.64-gentoo.patch new file mode 100644 index 000000000000..4812873b97fc --- /dev/null +++ b/dev-db/sqliteodbc/files/sqliteodbc-0.64-gentoo.patch @@ -0,0 +1,33 @@ +diff -ru sqliteodbc-0.64.orig/configure sqliteodbc-0.64/configure +--- sqliteodbc-0.64.orig/configure 2004-07-08 09:33:50.000000000 +0200 ++++ sqliteodbc-0.64/configure 2005-03-27 13:30:44.759094368 +0200 +@@ -5412,9 +5412,9 @@ + ODBC_FLAGS=UNKNOWN + ODBC_LIB=UNKNOWN + for i in $ODBC_DIR ; do +- if test -r "$i/include/sql.h" ; then +- if test -r "$i/include/iodbcinst.h" ; then +- ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include" ++ if test -r "$i/include/iodbc/sql.h" -o -r "$i/include/sql.h" ; then ++ if test -r "$i/include/iodbc/iodbcinst.h" ; then ++ ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include/iodbc" + if test -r "$i/lib/libiodbcinst.la" ; then + ODBC_LIB="$i/lib/libiodbcinst.la" + else +diff -ru sqliteodbc-0.64.orig/configure.in sqliteodbc-0.64/configure.in +--- sqliteodbc-0.64.orig/configure.in 2004-07-08 09:30:56.000000000 +0200 ++++ sqliteodbc-0.64/configure.in 2005-03-27 13:30:29.765373760 +0200 +@@ -170,9 +170,9 @@ + ODBC_FLAGS=UNKNOWN + ODBC_LIB=UNKNOWN + for i in $ODBC_DIR ; do +- if test -r "$i/include/sql.h" ; then +- if test -r "$i/include/iodbcinst.h" ; then +- ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include" ++ if test -r "$i/include/iodbc/sql.h" -o -r "$i/include/sql.h" ; then ++ if test -r "$i/include/iodbc/iodbcinst.h" ; then ++ ODBC_FLAGS="-DHAVE_IODBC=1 -I$i/include/iodbc" + if test -r "$i/lib/libiodbcinst.la" ; then + ODBC_LIB="$i/lib/libiodbcinst.la" + else +Only in sqliteodbc-0.64: .configure.in.swp diff --git a/dev-db/sqliteodbc/metadata.xml b/dev-db/sqliteodbc/metadata.xml new file mode 100644 index 000000000000..3963af9c6f8f --- /dev/null +++ b/dev-db/sqliteodbc/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>arj@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/dev-db/sqliteodbc/sqliteodbc-0.64.ebuild b/dev-db/sqliteodbc/sqliteodbc-0.64.ebuild new file mode 100644 index 000000000000..cfa911b476ca --- /dev/null +++ b/dev-db/sqliteodbc/sqliteodbc-0.64.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/sqliteodbc-0.64.ebuild,v 1.1 2005/04/22 20:27:44 arj Exp $ + +inherit eutils + +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="~x86 ~amd64" +IUSE="" + +DEPEND="=dev-db/sqlite-2* + || ( >=dev-db/unixODBC-2 >=libiodbc-3.0.6 )" + +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + econf --disable-static || die "could not configure" + emake || die "could not compile" +} + + +src_install() { + dodir /usr/lib + einstall || die "could not install" +} |