blob: d9123f3188c0d3d605295742457106842681e89b (
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
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Residual dipolar coupling and residual chemical shift analysis software"
HOMEPAGE="http://www.ibs.fr/science-213/scientific-output/software/module/?lang=en"
SRC_URI="MODULE2.tar.gz"
SLOT="0"
LICENSE="all-rights-reserved"
KEYWORDS=""
RDEPEND="
x11-libs/motif[abi_x86_32(-)]
x11-libs/libX11[abi_x86_32(-)]
x11-libs/libXext[abi_x86_32(-)]
x11-libs/libXpm[abi_x86_32(-)]
x11-libs/libXt[abi_x86_32(-)]
"
DEPEND="${RDEPEND}
"
RESTRICT="fetch splitdebug"
S="${WORKDIR}"/MODULE2
QA_PREBUILT="opt/bin/.*"
pkg_nofetch() {
elog "Please download ${A} from"
elog "${HOMEPAGE}"
elog "and place it into your DISTDIR folder"
}
src_install() {
use prefix && \
patchelf --set-rpath "${EPREFIX}"/usr/lib
exeinto /opt/bin
doexe module
dosym module /opt/bin/${PN}
dodoc -r MODULE2_manual_fichiers MODULE2_manual.htm
insinto /usr/share/${PN}
doins sample*
}
|