# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ 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" DEPEND=">=dev-db/sqlite-2.8.0 || ( >=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" }