diff options
Diffstat (limited to 'sci-chemistry/xds-bin')
-rw-r--r-- | sci-chemistry/xds-bin/Manifest | 3 | ||||
-rw-r--r-- | sci-chemistry/xds-bin/metadata.xml | 5 | ||||
-rw-r--r-- | sci-chemistry/xds-bin/xds-bin-20150301.ebuild | 53 |
3 files changed, 61 insertions, 0 deletions
diff --git a/sci-chemistry/xds-bin/Manifest b/sci-chemistry/xds-bin/Manifest new file mode 100644 index 000000000000..60095d8dd80b --- /dev/null +++ b/sci-chemistry/xds-bin/Manifest @@ -0,0 +1,3 @@ +DIST XDS-IA32_Linux_x86-20150301.tar.gz 7926947 SHA256 a88c83612f51ee4ee2c8c350a4a043ed63d4de81abbe38b66a5c7ce0729de7ec SHA512 d5ca9e2c48785e6f5409985a24df34361f913800f6a98b4fbc5cc5a16b58126e4577a7da45dc134cd12c44a0f96482e4cfb2ad2e7971ed7b70c1d062bf9ad436 WHIRLPOOL 73dec5eb595ffb1a7c4b30a9546bb82120d212ce73e7d9c004475fbdbe39bcabb7d3e6010ae492100a5fefd8b5abbc6303101091f0feff62e082bb7a0e7c5ce1 +DIST XDS-INTEL64_Linux_x86_64-20150301.tar.gz 9332728 SHA256 6b416b5c91829a2bbe3b9ed7b991edb38db7de7aad7a3ac00611ba12fc32f55a SHA512 361deea644e4f960ce73a0d42d6a3455e5895c288708cb007dd5e392828ab7f031da11c370f7b289a342b9f544e96b77bebde0e383d7b4e6a4ef6a33c930e0ed WHIRLPOOL e52ba19f48feff54af3634b50c8834352f32261bdd2216d6fd77ce9cc34ca49464f63b4685a2516b3eca4e27174c2d2be8406e00ec8fc935b04ce1dc643a7b29 +DIST XDS_html_doc-20150301.tar.gz 112862 SHA256 5ed1076bfc5086c6fb393ff8b19fcb4b4ff538977f74e2aea55b7f7b647fd37b SHA512 3492538de050e1e172a3e49b19a3616b496cd96ae78e726ab82567ebe3a5ecb91e0ea9f88d1fba9678d84ba54067494e1277b8be1a9fead57f8e0c85691d7d70 WHIRLPOOL 57bd75351cc64a7a24b7e78d3162842187d35ee33bce629d515b17306b49186dfda7ef06f9c53417c7b422db3b4636533cb0c753c358c8123903db61db33389d diff --git a/sci-chemistry/xds-bin/metadata.xml b/sci-chemistry/xds-bin/metadata.xml new file mode 100644 index 000000000000..51fdedab1b38 --- /dev/null +++ b/sci-chemistry/xds-bin/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-chemistry</herd> +</pkgmetadata> diff --git a/sci-chemistry/xds-bin/xds-bin-20150301.ebuild b/sci-chemistry/xds-bin/xds-bin-20150301.ebuild new file mode 100644 index 000000000000..3ddc187ce4d8 --- /dev/null +++ b/sci-chemistry/xds-bin/xds-bin-20150301.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="X-ray Detector Software for processing single-crystal monochromatic diffraction data" +HOMEPAGE="http://xds.mpimf-heidelberg.mpg.de/" +SRC_URI=" + x86? ( ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-IA32_Linux_x86.tar.gz -> XDS-IA32_Linux_x86-${PV}.tar.gz ) + amd64? ( 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 ~x86" +IUSE="smp X" + +RDEPEND="X? ( sci-visualization/xds-viewer )" +DEPEND="" + +QA_PREBUILT="opt/xds-bin/*" + +src_unpack() { + unpack ${A} + mv XDS-* "${S}" +} + +src_install() { + local suffix bin + exeinto /opt/${PN} + doexe * + + use smp && suffix="_par" + + for bin in xds mintegrate mcolspot xscale; do + dosym ../${PN}/${bin}${suffix} /opt/bin/${bin} + done + + for bin in 2cbf cellparm forkcolspot forkintegrate merge2cbf pixlab xdsconv; do + dosym ../${PN}/${bin} /opt/bin/${bin} + done + + dohtml -r "${WORKDIR}"/XDS_html_doc/* + insinto /usr/share/${PN}/INPUT_templates + doins "${WORKDIR}"/XDS_html_doc/html_doc/INPUT_templates/* +} + +pkg_postinst() { + elog "This package will expire on March 31, 2016" +} |