blob: 70d1cb0d02d6937b46e485414552547ba342b0f5 (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit virtuoso
DESCRIPTION="ODBC driver for OpenLink Virtuoso Open-Source Edition"
KEYWORDS="~amd64 ~x86"
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 "${D}/${ROOT}usr/${libdir}"/*.la || die
done
fi
}
|