# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit cmake-utils eutils DESCRIPTION="Object-oriented 3D toolkit that facilitates the rendering and interaction of chemical systems." HOMEPAGE="http://www.tecn.upf.es/openMOIV/" SRC_URI="http://www.tecn.upf.es/openMOIV/download/1.0.3/OpenMOIV.src.1.0.3a.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND="media-libs/openinventor" DEPEND="${RDEPEND}" S="${WORKDIR}/${PN}.src.${PV/a//}" src_configure() { mycmakeargs="-Dshared:int=1 -Dsys_fonts:int=1" cmake-utils_src_configure } src_install(){ insinto "$(get_libdir)" doins ../${PN}_build/libChemKit2.so || die 'doins for failed' }