diff options
author | Justin Lecher <jlec@gentoo.org> | 2017-01-14 15:48:17 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-01-14 15:48:17 +0000 |
commit | 1894db578f7346f62bb83f7586f644c404c0dc72 (patch) | |
tree | 1e527dfea9e70cc64df666c797f6c1004b7cf7f0 /media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild | |
parent | Merge remote-tracking branch 'github/master' (diff) | |
download | sci-1894db578f7346f62bb83f7586f644c404c0dc72.tar.gz sci-1894db578f7346f62bb83f7586f644c404c0dc72.tar.bz2 sci-1894db578f7346f62bb83f7586f644c404c0dc72.zip |
media-libs/OpenMOIV: QA work
Bump EAPI to 6
Shorten DESCRIPTION
convert mycmakeargs to array
properly install shared libs
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild')
-rw-r--r-- | media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild b/media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild index e543bfe35..636a933d4 100644 --- a/media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild +++ b/media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit cmake-utils -DESCRIPTION="Object-oriented 3D toolkit that facilitates the rendering and interaction of chemical systems" +DESCRIPTION="Object-oriented 3D toolkit for 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/${PN}.src.${PV}.tar.bz2" @@ -20,19 +20,23 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${PN}.src.${PV/a//}" src_prepare() { - sed -e 's:$ENV{OIV_DIR}/include:/usr/include/coin:g' \ + sed \ + -e 's:$ENV{OIV_DIR}/include:/usr/include/coin:g' \ -i CMakeLists.txt || die } src_configure() { - mycmakeargs="${mycmakeargs} -Dshared:int=1 -Dcoin:int=1 -Dsys_fonts:int=1" + mycmakeargs=( + -Dshared:int=1 + -Dcoin:int=1 + -Dsys_fonts:int=1 + ) cmake-utils_src_configure } src_install() { - insinto "/usr/$(get_libdir)" - doins "${BUILD_DIR}/libChemKit2.so" + dolib.so "${BUILD_DIR}"/libChemKit2.so - insinto "/usr/include" - doins -r "${S}/include/ChemKit2" + insinto /usr/include + doins -r "${S}"/include/ChemKit2 } |