# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit virtuoso java-pkg-2 DESCRIPTION="JDBC driver for OpenLink Virtuoso Open-Source Edition" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=" >=virtual/jdk-1.6.0 " RDEPEND=" >=virtual/jre-1.6.0 " VOS_EXTRACT="" src_prepare() { epatch "${FILESDIR}"/${P}-unbundle-minizip.patch epatch "${FILESDIR}"/${PN}-bundled-path.patch epatch "${FILESDIR}"/${PN}-testpath.patch mkdir -p docsrc/vsp/doc && cp -a binsrc/vsp/doc/* docsrc/vsp/doc/ || die java-pkg-2_src_prepare virtuoso_src_prepare } src_configure() { myconf+=" --with-jdk4=$(java-config-2 -O) " MAKEOPTS=-j1 virtuoso_src_configure } src_test() { emake check } src_install() { virtuoso_src_install }