diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
commit | 4187bba080530c5ca1c7dae9c233e88f3fc8f535 (patch) | |
tree | b6f535e053876097ced1b6bda14a4da890c730d4 /sci-chemistry/xds-bin/xds-bin-20240831.ebuild | |
parent | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (diff) |
gentoo auto-resync : 06:07:2024 - 08:06:15
Diffstat (limited to 'sci-chemistry/xds-bin/xds-bin-20240831.ebuild')
-rw-r--r-- | sci-chemistry/xds-bin/xds-bin-20240831.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sci-chemistry/xds-bin/xds-bin-20240831.ebuild b/sci-chemistry/xds-bin/xds-bin-20240831.ebuild new file mode 100644 index 000000000000..4fcd833d3071 --- /dev/null +++ b/sci-chemistry/xds-bin/xds-bin-20240831.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Software for processing single-crystal X-ray monochromatic diffraction data" +HOMEPAGE="https://xds.mr.mpg.de" +SRC_URI=" + https://xds.mr.mpg.de/XDS-INTEL64_Linux_x86_64.tar.gz -> XDS-INTEL64_Linux_x86_64-${PVR}.tar.gz + https://xds.mr.mpg.de/XDS_html_doc.tar.gz -> XDS_html_doc-${PVR}.tar.gz" + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="smp" +RESTRICT="fetch" + +QA_PREBUILT="opt/xds-bin/*" + +# The web site uses a certificate that is not in the system certificate store. +# Use a web browser to download, instead. +pkg_nofetch() { + elog "Please visit" + elog "https://xds.mr.mpg.de/html_doc/downloading.html" + elog "and download XDS-INTEL64_Linux_x86_64.tar.gz and XDS_html_doc.tar.gz." + elog "Please save them as: ${A}. in your \${DISTDIR}" +} + +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 forkxds 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 August 31, 2024" +} |