blob: 1f08bd4ac71e8fd459960210e40168e315c4a0ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
}
|