blob: 07ee2296628007c3157e3b8a0a1554d41264af82 (
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
43
44
45
46
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-odbc/virtuoso-odbc-6.1.2.ebuild,v 1.2 2010/09/12 21:36:11 phajdan.jr Exp $
EAPI="3"
inherit virtuoso
DESCRIPTION="ODBC driver for OpenLink Virtuoso Open-Source Edition"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="static-libs"
RDEPEND="
>=dev-libs/openssl-0.9.7i:0
"
DEPEND="${RDEPEND}"
VOS_EXTRACT="
libsrc/Dk
libsrc/Thread
libsrc/odbcsdk
libsrc/util
binsrc/driver
"
src_configure() {
myconf+="
$(use_enable static-libs static)
--without-iodbc
"
virtuoso_src_configure
}
src_install() {
virtuoso_src_install
# Remove libtool files
if ! use static-libs; then
local libdir
for libdir in $(get_all_libdirs); do
rm -f "${ED}/usr/${libdir}"/*.la || die
done
fi
}
|