| 1 |
# Copyright 1999-2013 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-odbc/virtuoso-odbc-6.1.6.ebuild,v 1.4 2012/09/20 17:45:26 scarabeus Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit virtuoso |
| 8 |
|
| 9 |
DESCRIPTION="ODBC driver for OpenLink Virtuoso Open-Source Edition" |
| 10 |
|
| 11 |
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
| 12 |
IUSE="" |
| 13 |
|
| 14 |
RDEPEND=" |
| 15 |
>=dev-libs/openssl-0.9.7i:0 |
| 16 |
" |
| 17 |
DEPEND="${RDEPEND}" |
| 18 |
|
| 19 |
PATCHES=( "${FILESDIR}/${PN}-6.1.6-am_config_header.patch" ) |
| 20 |
|
| 21 |
VOS_EXTRACT=" |
| 22 |
libsrc/Dk |
| 23 |
libsrc/Thread |
| 24 |
libsrc/odbcsdk |
| 25 |
libsrc/util |
| 26 |
binsrc/driver |
| 27 |
" |
| 28 |
|
| 29 |
src_configure() { |
| 30 |
myconf+=" |
| 31 |
--disable-static |
| 32 |
--without-iodbc |
| 33 |
" |
| 34 |
|
| 35 |
virtuoso_src_configure |
| 36 |
} |
| 37 |
|
| 38 |
src_install() { |
| 39 |
virtuoso_src_install |
| 40 |
|
| 41 |
# Remove libtool files |
| 42 |
find "${ED}" -name '*.la' -delete |
| 43 |
} |