aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/MotionCor2')
-rw-r--r--sci-chemistry/MotionCor2/Manifest1
-rw-r--r--sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild37
-rw-r--r--sci-chemistry/MotionCor2/metadata.xml12
3 files changed, 50 insertions, 0 deletions
diff --git a/sci-chemistry/MotionCor2/Manifest b/sci-chemistry/MotionCor2/Manifest
new file mode 100644
index 000000000..8dc156cba
--- /dev/null
+++ b/sci-chemistry/MotionCor2/Manifest
@@ -0,0 +1 @@
+DIST MotionCor2_1.4.0.zip 3514692 BLAKE2B b2204dbb6d241890be362076cda641b6ccfe6fa7f1d89e5a26c3725b7b82148e45a56c778d8172a3d81bea039ed866cb0a402d6d5ca47d0e11c5357d9de2bfb8 SHA512 69b3ae237f85fb5759ce36f30670f3313d273d8fdac0143c665a22878f84f1b7679e155c1f1ec3a648ce2a2adc0ada2787afb2df3cefd8679004017f45646529
diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
new file mode 100644
index 000000000..1f08bd4ac
--- /dev/null
+++ b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Correction of electron beam-induced sample motion"
+HOMEPAGE="https://emcore.ucsf.edu/ucsf-motioncor2"
+SRC_URI="${PN}_${PV}.zip"
+S="${WORKDIR}"/${PN}_${PV}
+
+LICENSE="UCSF-Motioncor2"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="fetch"
+
+RDEPEND="
+ media-libs/tiff
+ app-arch/xz-utils
+ media-libs/libjpeg-turbo
+"
+BDEPEND="app-arch/unzip"
+
+pkg_nofetch() {
+ elog "Please download ${PN}_${PV}.zip from:"
+ elog "\t ${HOMEPAGE}"
+ elog "and place it into your DISTDIR folder"
+}
+
+src_install() {
+ dodoc MotionCor2-UserManual-10-08-2020.pdf \
+ MotionCor2_1.4.0_ReleaseIntro-10-14-2020.docx
+ docompress -x /usr/share/doc/${PF}
+
+ local mcbin
+ dobin "${mcbin}"
+ dosym "${mcbin}" /usr/bin/MotionCor2
+}
diff --git a/sci-chemistry/MotionCor2/metadata.xml b/sci-chemistry/MotionCor2/metadata.xml
new file mode 100644
index 000000000..7e9e870fd
--- /dev/null
+++ b/sci-chemistry/MotionCor2/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+</pkgmetadata>