blob: a35884f9b5f0bfbb26faa04d697e97fe25a9690c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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.93.ebuild,v 1.1 2012/03/24 12:02:33 pacho Exp $
EAPI=4
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.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
}
|