Source

and3k-sunrise-overlay / sci-biology / ugene / ugene-1.11.2.ebuild

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit qt4-r2

DESCRIPTION="free cross-platform genome analysis suite"
HOMEPAGE="http://ugene.unipro.ru/"
SRC_URI="http://${PN}.unipro.ru/downloads/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cuda sse2"

DEPEND="x11-libs/qt-gui:4
  cuda? ( dev-util/nvidia-cuda-sdk )"
RDEPEND="${DEPEND}"

src_configure() {
	eqmake4 INSTALL_LIBDIR="/usr/$(get_libdir)" CONFIG+="x64" -r
}

src_install() {
	make INSTALL_ROOT="${D}" install || die "emake install failed"
	#cp -pPR src/_release/plugins/lib* "${D}/usr/$(get_libdir)/${PN}/plugins/"
}