diff options
author | Anders Rune Jensen <arj@gentoo.org> | 2005-04-22 20:27:44 +0000 |
---|---|---|
committer | Anders Rune Jensen <arj@gentoo.org> | 2005-04-22 20:27:44 +0000 |
commit | 82338a0ce98c77770172984d565fe722fcf6ed9e (patch) | |
tree | 74f5e5ae03de103dedf6aaa3a73296f9aad3d8e5 /dev-db | |
parent | www-proxy -> net-proxy (diff) | |
download | gentoo-2-82338a0ce98c77770172984d565fe722fcf6ed9e.tar.gz gentoo-2-82338a0ce98c77770172984d565fe722fcf6ed9e.tar.bz2 gentoo-2-82338a0ce98c77770172984d565fe722fcf6ed9e.zip |
new ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/sqliteodbc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/sqliteodbc/Manifest | 3 | ||||
-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, 88 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..65ebf4f03d48 --- /dev/null +++ b/dev-db/sqliteodbc/Manifest @@ -0,0 +1,3 @@ +MD5 3c542be7668175839346cc26760c2c2d sqliteodbc-0.64.ebuild 724 +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" +} |