1 |
commit: 86a55f2707b1daa78e8d7e0666756e95ef588d47 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 2 11:48:56 2021 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 2 12:00:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a55f27 |
7 |
|
8 |
sci-chemistry/dssp: Fix boost compat for dssp-2 |
9 |
|
10 |
dssp-2 is still needed by gromacs, try to keep it whenever possible then |
11 |
|
12 |
Closes: https://bugs.gentoo.org/802417 |
13 |
Closes: https://bugs.gentoo.org/808669 |
14 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
15 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
16 |
|
17 |
sci-chemistry/dssp/dssp-2.2.1-r3.ebuild | 41 +++++++++++++++++++++++++++++++++ |
18 |
sci-chemistry/dssp/files/30-dssp | 1 + |
19 |
2 files changed, 42 insertions(+) |
20 |
|
21 |
diff --git a/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild b/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild |
22 |
new file mode 100644 |
23 |
index 00000000000..17a89bb51ff |
24 |
--- /dev/null |
25 |
+++ b/sci-chemistry/dssp/dssp-2.2.1-r3.ebuild |
26 |
@@ -0,0 +1,41 @@ |
27 |
+# Copyright 1999-2021 Gentoo Authors |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=8 |
31 |
+ |
32 |
+inherit toolchain-funcs |
33 |
+ |
34 |
+DESCRIPTION="The protein secondary structure standard" |
35 |
+HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/" |
36 |
+SRC_URI="ftp://ftp.cmbi.ru.nl/pub/molbio/software/dssp-2/${P}.tgz" |
37 |
+ |
38 |
+LICENSE="Boost-1.0" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
41 |
+IUSE="" |
42 |
+ |
43 |
+RDEPEND="dev-libs/boost:=[threads(+)]" |
44 |
+DEPEND="${RDEPEND}" |
45 |
+ |
46 |
+PATCHES=( |
47 |
+ "${FILESDIR}"/${PN}-2.1.0-gentoo.patch |
48 |
+ "${FILESDIR}"/${PN}-2.2.1-boost-1.65-tr1-removal.patch |
49 |
+) |
50 |
+ |
51 |
+src_configure() { |
52 |
+ tc-export CXX |
53 |
+ |
54 |
+ cat >> make.config <<- EOF || die |
55 |
+ BOOST_LIB_DIR = "${EPREFIX}/usr/$(get_libdir)" |
56 |
+ BOOST_INC_DIR = "${EPREFIX}/usr/include" |
57 |
+ EOF |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ dobin mkdssp |
62 |
+ dosym mkdssp /usr/bin/dssp |
63 |
+ doman doc/mkdssp.1 |
64 |
+ dodoc README.txt changelog |
65 |
+ |
66 |
+ doenvd "${FILESDIR}"/30-${PN} |
67 |
+} |
68 |
|
69 |
diff --git a/sci-chemistry/dssp/files/30-dssp b/sci-chemistry/dssp/files/30-dssp |
70 |
new file mode 100644 |
71 |
index 00000000000..e0a5e0ce562 |
72 |
--- /dev/null |
73 |
+++ b/sci-chemistry/dssp/files/30-dssp |
74 |
@@ -0,0 +1 @@ |
75 |
+DSSP=/usr/bin/dssp |
76 |
\ No newline at end of file |