commit: 551364e8295aa5d9c3b5f1a43b37d0e703c70fa8 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Tue Feb 10 14:36:37 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Tue Feb 10 14:36:37 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=551364e8
sci-chemistry/xplor-nih: New package Package-Manager: portage-2.2.16 --- sci-chemistry/xplor-nih/ChangeLog | 9 +++++ sci-chemistry/xplor-nih/metadata.xml | 8 +++++ sci-chemistry/xplor-nih/xplor-nih-2.38.ebuild | 49 +++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/sci-chemistry/xplor-nih/ChangeLog b/sci-chemistry/xplor-nih/ChangeLog new file mode 100644 index 0000000..e635dd6 --- /dev/null +++ b/sci-chemistry/xplor-nih/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-chemistry/xplor-nih +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*xplor-nih-2.38 (10 Feb 2015) + + 10 Feb 2015; Justin Lecher <j...@gentoo.org> +metadata.xml, + +xplor-nih-2.38.ebuild: + sci-chemistry/xplor-nih: New package diff --git a/sci-chemistry/xplor-nih/metadata.xml b/sci-chemistry/xplor-nih/metadata.xml new file mode 100644 index 0000000..7bc6ee8 --- /dev/null +++ b/sci-chemistry/xplor-nih/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>j...@gentoo.org</email> + <name>Justin Lecher</name> + </maintainer> +</pkgmetadata> diff --git a/sci-chemistry/xplor-nih/xplor-nih-2.38.ebuild b/sci-chemistry/xplor-nih/xplor-nih-2.38.ebuild new file mode 100644 index 0000000..f8f0bb7 --- /dev/null +++ b/sci-chemistry/xplor-nih/xplor-nih-2.38.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="Structure determination program which builds on the X-PLOR program" +HOMEPAGE="http://nmr.cit.nih.gov/xplor-nih/" +SRC_URI=" + ${P}-Linux_x86_64.tar.gz + ${P}-db.tar.gz + " + +SLOT="0" +LICENSE="XPLOR-NIH" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +RESTRICT="fetch" + +QA_PREBUILT="opt/.*" + +pkg_nofetch() { + elog "Please visit ${HOMEPAGE} and download ${A}" + elog "into ${DISTDIR}" +} + +src_configure() { :; } + +src_install() { + dodoc Changes INSTALL README.beowulf README.dist References parallel.txt + + dodir /opt/${P} /opt/bin + mv * "${ED}"/opt/${P}/ || die + + cd "${ED}"/opt/${P} || die + bash ./configure -symlinks "${ED}"/opt/bin || die + + python_optimize /opt/${P} +}