You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/sqliteodbc/sqliteodbc-0.94.ebuild

43 lines
920 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/sqliteodbc-0.94.ebuild,v 1.2 2012/06/04 07:04:26 zmedico Exp $
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
}