blob: a7e54aa220d31c159a79b7a01b27139180ca5bc9 (
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
47
48
|
# 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() {
use prefix || ED="${D}"
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
}
|