diff options
Diffstat (limited to 'dev-db/sqliteodbc/sqliteodbc-0.87.ebuild')
-rw-r--r-- | dev-db/sqliteodbc/sqliteodbc-0.87.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-db/sqliteodbc/sqliteodbc-0.87.ebuild b/dev-db/sqliteodbc/sqliteodbc-0.87.ebuild new file mode 100644 index 000000000000..f8cc2e39d6db --- /dev/null +++ b/dev-db/sqliteodbc/sqliteodbc-0.87.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/sqliteodbc-0.87.ebuild,v 1.1 2010/09/10 23:17:47 arfrever Exp $ + +EAPI="3" + +inherit eutils 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 ~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.83-respect_LDFLAGS.patch" +} + +src_install() { + dodir "/usr/$(get_libdir)" + einstall || die "einstall failed" + dodoc ChangeLog README +} |