diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-chemistry/xds-bin/xds-bin-20170930.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/xds-bin/xds-bin-20170930.ebuild')
-rw-r--r-- | sci-chemistry/xds-bin/xds-bin-20170930.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sci-chemistry/xds-bin/xds-bin-20170930.ebuild b/sci-chemistry/xds-bin/xds-bin-20170930.ebuild new file mode 100644 index 000000000000..9478c991983f --- /dev/null +++ b/sci-chemistry/xds-bin/xds-bin-20170930.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Software for processing single-crystal X-ray monochromatic diffraction data" +HOMEPAGE="http://xds.mpimf-heidelberg.mpg.de/" +SRC_URI=" + ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-INTEL64_Linux_x86_64.tar.gz -> XDS-INTEL64_Linux_x86_64-${PV}.tar.gz + ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS_html_doc.tar.gz -> XDS_html_doc-${PV}.tar.gz" + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="smp X" + +RDEPEND="X? ( sci-visualization/xds-viewer )" +DEPEND="" + +QA_PREBUILT="opt/xds-bin/*" + +src_unpack() { + default + mv XDS-* "${S}" || die +} + +src_install() { + local HTML_DOCS=( "${WORKDIR}"/XDS_html_doc/. ) + einstalldocs + + local i suffix=$(usex smp '_par' '') + exeinto /opt/${PN} + doexe * + + for i in xds mintegrate mcolspot xscale; do + dosym ../${PN}/${i}${suffix} /opt/bin/${i} + done + + for i in 2cbf cellparm forkcolspot forkintegrate merge2cbf pix2lab xdsconv; do + dosym ../${PN}/${i} /opt/bin/${i} + done + + insinto /usr/share/${PN}/INPUT_templates + doins -r "${WORKDIR}"/XDS_html_doc/html_doc/INPUT_templates/. +} + +pkg_postinst() { + elog "This package will expire on September 30, 2017" +} |