1 |
commit: 673d558f7618947a06ea7c77970c6c877c9ccf6d |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 25 11:28:39 2012 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 25 11:28:39 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=673d558f |
7 |
|
8 |
New addition, written by me, #406401 |
9 |
|
10 |
(Portage version: 2.2.0_alpha95/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
sci-chemistry/ball/ChangeLog | 10 ++++++ |
14 |
sci-chemistry/ball/ball-9999.ebuild | 62 +++++++++++++++++++++++++++++++++++ |
15 |
sci-chemistry/ball/metadata.xml | 32 ++++++++++++++++++ |
16 |
3 files changed, 104 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/sci-chemistry/ball/ChangeLog b/sci-chemistry/ball/ChangeLog |
19 |
new file mode 100644 |
20 |
index 0000000..c93b22c |
21 |
--- /dev/null |
22 |
+++ b/sci-chemistry/ball/ChangeLog |
23 |
@@ -0,0 +1,10 @@ |
24 |
+# ChangeLog for sci-chemistry/ball |
25 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
26 |
+# $Header: $ |
27 |
+ |
28 |
+*ball-9999 (25 Mar 2012) |
29 |
+ |
30 |
+ 25 Mar 2012; Justin Lecher <jlec@g.o> +ball-9999.ebuild, |
31 |
+ +metadata.xml: |
32 |
+ New addition, written by me, #406401 |
33 |
+ |
34 |
|
35 |
diff --git a/sci-chemistry/ball/ball-9999.ebuild b/sci-chemistry/ball/ball-9999.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..fc7306d |
38 |
--- /dev/null |
39 |
+++ b/sci-chemistry/ball/ball-9999.ebuild |
40 |
@@ -0,0 +1,62 @@ |
41 |
+# Copyright 1999-2012 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Header: $ |
44 |
+ |
45 |
+EAPI=4 |
46 |
+ |
47 |
+PYTHON_DEPEND="python? 2" |
48 |
+ |
49 |
+inherit cmake-utils git-2 python |
50 |
+ |
51 |
+DESCRIPTION="Biochemical Algorithms Library" |
52 |
+HOMEPAGE="http://www.ball-project.org/" |
53 |
+SRC_URI="" |
54 |
+EGIT_REPO_URI="http://ball-git.bioinf.uni-sb.de/BALL.git" |
55 |
+ |
56 |
+SLOT="0" |
57 |
+LICENSE="LGPL-2 GPL-3" |
58 |
+KEYWORDS="" |
59 |
+IUSE="cuda mpi +python sql +threads +webkit" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ dev-cpp/eigen:3 |
63 |
+ dev-libs/boost |
64 |
+ media-libs/glew |
65 |
+ sci-libs/fftw:3.0[threads?] |
66 |
+ sci-libs/gsl |
67 |
+ sci-libs/libsvm |
68 |
+ sci-mathematics/lpsolve |
69 |
+ virtual/opengl |
70 |
+ x11-libs/libX11 |
71 |
+ x11-libs/qt-core |
72 |
+ x11-libs/qt-gui |
73 |
+ x11-libs/qt-opengl |
74 |
+ x11-libs/qt-test |
75 |
+ x11-libs/qt-webkit |
76 |
+ cuda? ( dev-util/nvidia-cuda-toolkit ) |
77 |
+ mpi? ( virtual/mpi ) |
78 |
+ sql? ( x11-libs/qt-sql ) |
79 |
+ webkit? ( x11-libs/qt-webkit )" |
80 |
+DEPEND="${RDEPEND} |
81 |
+ dev-python/sip |
82 |
+ sys-devel/bison |
83 |
+ virtual/yacc" |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ sed \ |
87 |
+ -e '/INSTALL_DIRECTORY/s:"lib":${CMAKE_INSTALL_LIBDIR}:g' \ |
88 |
+ -i CMakeLists.txt || die |
89 |
+ base_src_prepare |
90 |
+} |
91 |
+ |
92 |
+src_configure() { |
93 |
+ local mycmakeargs=( |
94 |
+ $(cmake-utils_use_use threads FFTW_THREADS) |
95 |
+ $(cmake-utils_use cuda MT_ENABLE_CUDA) |
96 |
+ $(cmake-utils_use mpi MT_ENABLE_MPI) |
97 |
+ $(cmake-utils_use sql BALL_HAS_QTSQL) |
98 |
+ $(cmake-utils_use_use webkit USE_QTWEBKIT) |
99 |
+ $(cmake-utils_use python BALL_PYTHON_SUPPORT) |
100 |
+ ) |
101 |
+ cmake-utils_src_configure |
102 |
+} |
103 |
|
104 |
diff --git a/sci-chemistry/ball/metadata.xml b/sci-chemistry/ball/metadata.xml |
105 |
new file mode 100644 |
106 |
index 0000000..8c954a2 |
107 |
--- /dev/null |
108 |
+++ b/sci-chemistry/ball/metadata.xml |
109 |
@@ -0,0 +1,32 @@ |
110 |
+<?xml version="1.0" encoding="UTF-8"?> |
111 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
112 |
+<pkgmetadata> |
113 |
+ <herd>sci</herd> |
114 |
+ <maintainer> |
115 |
+ <email>jlec@g.o</email> |
116 |
+ </maintainer> |
117 |
+ <longdescription> |
118 |
+Rapid Software Prototyping can significantly reduce development times in the |
119 |
+field of Computational Molecular Biology and Molecular Modeling. |
120 |
+BALL (Biochemical Algorithms Library) is an application framework in C++ that |
121 |
+has been specifically designed for this purpose. It provides an extensive set |
122 |
+of data structures as well as classes for Molecular Mechanics, advanced |
123 |
+solvation methods, comparison and analysis of protein structures, file |
124 |
+import/export, and visualization . |
125 |
+ |
126 |
+BALL has been carefully designed to be robust, easy to use, and open to |
127 |
+extensions. Especially its extensibility which results from an object-oriented |
128 |
+and generic programming approach distinguishes it from other software packages. |
129 |
+BALL is well suited to serve as a public repository for reliable data |
130 |
+structures and algorithms. |
131 |
+ |
132 |
+Based on BALL we have developed a stand-alone tool for molecular visualization, |
133 |
+BALLView . BALLView makes the broad functionality available through an |
134 |
+integrated user-friendly GUI. |
135 |
+</longdescription> |
136 |
+ <use> |
137 |
+ <flag name="sql">Include SQL database support</flag> |
138 |
+ <flag name="cuda">Include cuda support</flag> |
139 |
+ <flag name="webkit">Uses <pkg>x11-libs/qt-webkit</pkg> for drawing</flag> |
140 |
+ </use> |
141 |
+</pkgmetadata> |