1 |
Added use flags doc (install API documentation) and zlib. |
2 |
--- |
3 |
sci-chemistry/openbabel/ChangeLog | 11 +++ |
4 |
sci-chemistry/openbabel/Manifest | 5 ++ |
5 |
.../openbabel/files/openbabel-2.2.0-doxyfile.patch | 27 ++++++++ |
6 |
sci-chemistry/openbabel/metadata.xml | 15 ++++ |
7 |
sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild | 68 ++++++++++++++++++++ |
8 |
5 files changed, 126 insertions(+), 0 deletions(-) |
9 |
create mode 100644 sci-chemistry/openbabel/ChangeLog |
10 |
create mode 100644 sci-chemistry/openbabel/Manifest |
11 |
create mode 100644 sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch |
12 |
create mode 100644 sci-chemistry/openbabel/metadata.xml |
13 |
create mode 100644 sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild |
14 |
|
15 |
diff --git a/sci-chemistry/openbabel/ChangeLog b/sci-chemistry/openbabel/ChangeLog |
16 |
new file mode 100644 |
17 |
index 0000000..1ffe227 |
18 |
--- /dev/null |
19 |
+++ b/sci-chemistry/openbabel/ChangeLog |
20 |
@@ -0,0 +1,11 @@ |
21 |
+# ChangeLog for sci-chemistry/openbabel |
22 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
23 |
+# $Header: $ |
24 |
+ |
25 |
+*openbabel-2.2.0-r1 (10 Feb 2009) |
26 |
+ |
27 |
+ 10 Feb 2009; Reinis Danne <rei4dan@×××××.com> |
28 |
+ +files/openbabel-2.2.0-doxyfile.patch, +metadata.xml, |
29 |
+ +openbabel-2.2.0-r1.ebuild: |
30 |
+ Added openbabel-2.2.0-r1.ebuild with a patch for doxyfile, #212212 |
31 |
+ |
32 |
diff --git a/sci-chemistry/openbabel/Manifest b/sci-chemistry/openbabel/Manifest |
33 |
new file mode 100644 |
34 |
index 0000000..30ad295 |
35 |
--- /dev/null |
36 |
+++ b/sci-chemistry/openbabel/Manifest |
37 |
@@ -0,0 +1,5 @@ |
38 |
+AUX openbabel-2.2.0-doxyfile.patch 1074 RMD160 26a22e205fde6c778ed19e961e676d99f0ffa2a7 SHA1 89c68eab7c2f144bf664f1c8abb7322430893658 SHA256 28d8b3e4730bdd347ddb1a0bff238bf52b2eb591d23d693812d99bb02c7190ec |
39 |
+DIST openbabel-2.2.0.tar.gz 6127264 RMD160 ade8e65ab37278d9af3ff1b9cfb115437f52e0ea SHA1 5fdc084fb744d5dae4cd9ddbd52fe1f0c56c973b SHA256 a898b79336c7372c901bcc7e5f83db7b8e79f8e864be6a262f515b3e088bc607 |
40 |
+EBUILD openbabel-2.2.0-r1.ebuild 1484 RMD160 129bcff736c1c495e3381a53a181b412fe40e996 SHA1 6348606aa999c5cc434383e456d6dff46ced5316 SHA256 a34303fd5a0d918d4de612498f41f6a68dd25d070edf3324f4c0721e57485ec5 |
41 |
+MISC ChangeLog 363 RMD160 b2c4b7aea941258f4ba13d3fadafd17fbd2d1ec3 SHA1 9f7dc730012f98e2a5a9eca78a1c2b48decbfecb SHA256 059502c7cc3df61868b013a8670d3dc98b331959b54eb405bc76e4f45ffbff4e |
42 |
+MISC metadata.xml 607 RMD160 d7e3f2502a60cc150c4c5d5f6840c15bfa7b966a SHA1 33b8b1fcb16b9f73d0fa61993bc159fa7b9f2927 SHA256 788449f6eea9025ca31211e134c48b2bf713e5120c132420896ec51b354f1807 |
43 |
diff --git a/sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch b/sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch |
44 |
new file mode 100644 |
45 |
index 0000000..e54a530 |
46 |
--- /dev/null |
47 |
+++ b/sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch |
48 |
@@ -0,0 +1,27 @@ |
49 |
+--- Doxyfile.orig 2008-07-01 20:55:40.000000000 +0300 |
50 |
++++ Doxyfile 2009-02-10 01:30:56.000000000 +0200 |
51 |
+@@ -752,13 +752,13 @@ |
52 |
+ # each generated HTML page. If it is left blank doxygen will generate a |
53 |
+ # standard header. |
54 |
+ |
55 |
+-HTML_HEADER = doc/api-header.html |
56 |
++HTML_HEADER = |
57 |
+ |
58 |
+ # The HTML_FOOTER tag can be used to specify a personal HTML footer for |
59 |
+ # each generated HTML page. If it is left blank doxygen will generate a |
60 |
+ # standard footer. |
61 |
+ |
62 |
+-HTML_FOOTER = doc/api-footer.html |
63 |
++HTML_FOOTER = |
64 |
+ |
65 |
+ # The HTML_STYLESHEET tag can be used to specify a user-defined cascading |
66 |
+ # style sheet that is used by each HTML page. It can be used to |
67 |
+@@ -767,7 +767,7 @@ |
68 |
+ # the style sheet file to the HTML output directory, so don't put your own |
69 |
+ # stylesheet in the HTML output directory as well, or it will be erased! |
70 |
+ |
71 |
+-HTML_STYLESHEET = doc/api-style.css |
72 |
++HTML_STYLESHEET = |
73 |
+ |
74 |
+ # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, |
75 |
+ # files or namespaces will be aligned in HTML using tables. If set to |
76 |
diff --git a/sci-chemistry/openbabel/metadata.xml b/sci-chemistry/openbabel/metadata.xml |
77 |
new file mode 100644 |
78 |
index 0000000..79d6407 |
79 |
--- /dev/null |
80 |
+++ b/sci-chemistry/openbabel/metadata.xml |
81 |
@@ -0,0 +1,15 @@ |
82 |
+<?xml version="1.0" encoding="UTF-8"?> |
83 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
84 |
+<pkgmetadata> |
85 |
+ <herd>sci-chemistry</herd> |
86 |
+ <longdescription> |
87 |
+ Open Babel is a chemical toolbox designed to speak the many languages of |
88 |
+ chemical data. It's an open, collaborative project allowing anyone to |
89 |
+ search, convert, analyze, or store data from molecular modeling, chemistry, |
90 |
+ solid-state materials, biochemistry, or related areas. |
91 |
+ </longdescription> |
92 |
+ <use> |
93 |
+ <flag name='doc'>Install API documentation</flag> |
94 |
+ <flag name='zlib'>Enable zlib support</flag> |
95 |
+ </use> |
96 |
+</pkgmetadata> |
97 |
diff --git a/sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild |
98 |
new file mode 100644 |
99 |
index 0000000..5116bba |
100 |
--- /dev/null |
101 |
+++ b/sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild |
102 |
@@ -0,0 +1,68 @@ |
103 |
+# Copyright 1999-2009 Gentoo Foundation |
104 |
+# Distributed under the terms of the GNU General Public License v2 |
105 |
+# $Header: $ |
106 |
+ |
107 |
+EAPI=1 |
108 |
+ |
109 |
+inherit eutils |
110 |
+ |
111 |
+DESCRIPTION="interconverts file formats used in molecular modeling" |
112 |
+HOMEPAGE="http://openbabel.sourceforge.net/" |
113 |
+SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz" |
114 |
+ |
115 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
116 |
+SLOT="0" |
117 |
+LICENSE="GPL-2" |
118 |
+IUSE="doc +zlib" |
119 |
+ |
120 |
+RDEPEND="!sci-chemistry/babel |
121 |
+ >=dev-libs/libxml2-2.6.5 |
122 |
+ zlib? ( sys-libs/zlib )" |
123 |
+ |
124 |
+DEPEND="${RDEPEND} |
125 |
+ >=dev-libs/boost-1.33.1 |
126 |
+ dev-lang/perl |
127 |
+ doc? ( app-doc/doxygen )" |
128 |
+ |
129 |
+src_unpack() { |
130 |
+ unpack ${A} |
131 |
+ cd "${S}" |
132 |
+ |
133 |
+ epatch "${FILESDIR}/${P}-doxyfile.patch" || die "Failed to apply ${P}-doxyfile.patch" |
134 |
+} |
135 |
+ |
136 |
+src_compile() { |
137 |
+ econf \ |
138 |
+ --enable-static \ |
139 |
+ $(use_with zlib) \ |
140 |
+ || die "econf failed" |
141 |
+ emake || die "emake failed" |
142 |
+ if use doc ; then |
143 |
+ emake docs || "make docs failed" |
144 |
+ fi |
145 |
+} |
146 |
+ |
147 |
+src_test() { |
148 |
+ emake check || die "make check failed" |
149 |
+} |
150 |
+ |
151 |
+src_install() { |
152 |
+ emake DESTDIR="${D}" install || die "make install failed" |
153 |
+ dodoc AUTHORS ChangeLog NEWS README THANKS |
154 |
+ cd doc |
155 |
+ dohtml *.html *.png |
156 |
+ dodoc *.inc README* *.inc *.mol2 |
157 |
+ if use doc ;then |
158 |
+ dodir /usr/share/doc/${PF}/API/html |
159 |
+ insinto /usr/share/doc/${PF}/API/html |
160 |
+ cd API/html |
161 |
+ doins * |
162 |
+ fi |
163 |
+} |
164 |
+ |
165 |
+pkg_postinst() { |
166 |
+ echo |
167 |
+ elog "This version of OpenBabel includes InChI version 1 (software version" |
168 |
+ elog "1.02_beta). It does not produce Standard InChI/InChIKey." |
169 |
+ elog "To get Standard InChI/InChIKey software version 1.02 must be used." |
170 |
+} |
171 |
-- |
172 |
1.6.0.6 |