aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-08-03 17:36:35 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2011-08-03 17:36:35 +0400
commit560a1a141aad05fc626deeca8317e933974dc34a (patch)
tree2f9a6c8c153e453fbe0d72b421f6b0ed3ebfa306
parentUse rpath if prefix is enabled. (diff)
downloadsci-560a1a141aad05fc626deeca8317e933974dc34a.tar.gz
sci-560a1a141aad05fc626deeca8317e933974dc34a.tar.bz2
sci-560a1a141aad05fc626deeca8317e933974dc34a.zip
[media-libs/OpenMOIV] Initial import per bug #239321
(Portage version: 2.2.0_alpha50/git/Linux x86_64, signed Manifest commit with key F82F92E6)
-rw-r--r--media-libs/OpenMOIV/Manifest23
-rw-r--r--media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild42
-rw-r--r--media-libs/OpenMOIV/metadata.xml8
3 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/OpenMOIV/Manifest b/media-libs/OpenMOIV/Manifest
new file mode 100644
index 000000000..379dc3d4c
--- /dev/null
+++ b/media-libs/OpenMOIV/Manifest
@@ -0,0 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST OpenMOIV.src.1.0.3a.tar.bz2 327168 RMD160 a5aa797458f87cd4dc0846c565e358577f094c31 SHA1 7af9fad07d57423c5c01ded9741d28bd5b92c337 SHA256 91c6b24aceb72d5884b0291ae28fca358a78e1590ccd0554ef7e7f8a3ef6dbe8
+EBUILD OpenMOIV-1.0.3a.ebuild 983 RMD160 b88c44ca2d039b1bf631c171f437a105c0fc007f SHA1 719c28e6444372364426222a2cabdb086a0d4292 SHA256 87340ea0545f178c22373ac16e13ea022046518fd2e755843ca7d6cadb541951
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCAAGBQJOOU7iAAoJEOf+E+/4L5Lma30P/0XPw7870fwAHmIeEOS4uwPO
++ipqD5l6QpeVh5cnBiXyDfimABxWO7/5/0gIn+MSSiqxgYM7B/uBw2mkCRGsJEC+
+tuMVJtt0OgM7LlKW55kl8J6useqI3K4Aiq1heA6RQhP8EaGr/ADtuIVRCIopYFjL
+h8zNeK4/KcHLTxT9Gx4ExSvEko/8HjcxDaHGS5LUS5tRjhXyVxfDljXJh6HMgj85
+Wj//sQizCiDWd5gRNjaxlPXPpG9LfDonz+iDkcFqz4Q5nbRLXsF1X3v8pxL52x3i
+wMSiIe1VTnQxQ8V4YWczGrTlUGjmIeA6QpyQMJhjd3R4bnIgr8yN110n9AHnueBs
+hWucWu8ic8dIndHJpHVcutlrTLjc0XNdzj+aketW72+0kUoeHStd9+wXtyMMX+ac
+4XQaeGA6SoWuIcVZEkZsL+4yEP9Klim4CaY2RHQG3Ww51vCLcszYKSCaBq2ilWk7
+ADwWHe0mPdQQBnB3rUDP4JvqLHcmKLcyR6Rt1GTwqzlCIZy/cv0uLW+bQemgayYe
+Xn2AdHhZfXOd5XpcHFedLr0Hn/MVd9pjmy/lnuEXEsK2zG+UAWjK4tSuMUUYqhN9
+4e8ZD+Ba22xEy0jz2mW92A8C3X4j9nM5VCoE5e1ikZVvkcDfzwdHibSx3ntTMlHz
+Y6LI8h60VlYqTCon6POj
+=tc65
+-----END PGP SIGNATURE-----
diff --git a/media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild b/media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild
new file mode 100644
index 000000000..5c150c1b3
--- /dev/null
+++ b/media-libs/OpenMOIV/OpenMOIV-1.0.3a.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit cmake-utils
+
+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/${PN}.src.${PV}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE=""
+
+RDEPEND="
+ media-libs/coin
+ "
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}.src.${PV/a//}"
+
+src_prepare() {
+ 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"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ insinto "/usr/$(get_libdir)"
+ doins "${CMAKE_BUILD_DIR}/libChemKit2.so" || die "doins for libChemKit2 failed"
+
+ insinto "/usr/include"
+ doins -r "${S}/include/ChemKit2" || die "include install failed"
+}
diff --git a/media-libs/OpenMOIV/metadata.xml b/media-libs/OpenMOIV/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/media-libs/OpenMOIV/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>