1 |
commit: 199230978f35669d8388b4c78ff31994718864f8 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 25 15:23:28 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 25 15:24:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19923097 |
7 |
|
8 |
sci-biology/rnaview: Modernise to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
.../rnaview/files/rnaview-20040713-implicit.patch | 4 +-- |
13 |
sci-biology/rnaview/rnaview-20040713-r4.ebuild | 35 ++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sci-biology/rnaview/files/rnaview-20040713-implicit.patch b/sci-biology/rnaview/files/rnaview-20040713-implicit.patch |
17 |
index 009f6e79ae..90ea72ab6f 100644 |
18 |
--- a/sci-biology/rnaview/files/rnaview-20040713-implicit.patch |
19 |
+++ b/sci-biology/rnaview/files/rnaview-20040713-implicit.patch |
20 |
@@ -1,7 +1,7 @@ |
21 |
Fix implicit function declaration |
22 |
|
23 |
---- src/xml2ps.c |
24 |
-+++ src/xml2ps.c |
25 |
+--- a/src/xml2ps.c |
26 |
++++ b/src/xml2ps.c |
27 |
@@ -36,7 +36,7 @@ |
28 |
void read_sugar_syn(char *inpfile, long **sugar_syn); |
29 |
void get_sugar_syn(FILE *inp, char *value_ch); |
30 |
|
31 |
diff --git a/sci-biology/rnaview/rnaview-20040713-r4.ebuild b/sci-biology/rnaview/rnaview-20040713-r4.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000000..f12c6ce5ef |
34 |
--- /dev/null |
35 |
+++ b/sci-biology/rnaview/rnaview-20040713-r4.ebuild |
36 |
@@ -0,0 +1,35 @@ |
37 |
+# Copyright 1999-2017 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Id$ |
40 |
+ |
41 |
+EAPI=6 |
42 |
+ |
43 |
+inherit toolchain-funcs |
44 |
+ |
45 |
+DESCRIPTION="Generates 2D displays of RNA/DNA secondary structures with tertiary interactions" |
46 |
+HOMEPAGE="http://ndbserver.rutgers.edu/services/download/index.html" |
47 |
+SRC_URI="mirror://gentoo/${P}.tar.bz2" |
48 |
+ |
49 |
+LICENSE="public-domain" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="" |
53 |
+ |
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}"/${P}-makefile.patch |
56 |
+ "${FILESDIR}"/${P}-implicit.patch |
57 |
+) |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ tc-export CC |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ default |
66 |
+ |
67 |
+ cat > 22rnaview <<- EOF || die |
68 |
+ RNAVIEW="${EPREFIX}/usr/share/${PN}" |
69 |
+ EOF |
70 |
+ doenvd 22rnaview |
71 |
+} |