1 |
commit: 0dfe99169e129ebbe61dd74cca12878ea11538ef |
2 |
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 3 14:38:12 2017 +0000 |
4 |
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 14:54:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dfe9916 |
7 |
|
8 |
sci-libs/votca-moo: initial commit |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
sci-libs/votca-moo/metadata.xml | 15 ++++++++++++ |
13 |
sci-libs/votca-moo/votca-moo-9999.ebuild | 41 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/votca-moo/metadata.xml b/sci-libs/votca-moo/metadata.xml |
17 |
new file mode 100644 |
18 |
index 00000000000..25ad85ea753 |
19 |
--- /dev/null |
20 |
+++ b/sci-libs/votca-moo/metadata.xml |
21 |
@@ -0,0 +1,15 @@ |
22 |
+<?xml version="1.0" encoding="UTF-8"?> |
23 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
24 |
+<pkgmetadata> |
25 |
+ <maintainer type="person"> |
26 |
+ <email>junghans@g.o</email> |
27 |
+ <name>Christoph Junghans</name> |
28 |
+ </maintainer> |
29 |
+ <maintainer type="project"> |
30 |
+ <email>sci-chemistry@g.o</email> |
31 |
+ <name>Gentoo Chemistry Project</name> |
32 |
+ </maintainer> |
33 |
+ <upstream> |
34 |
+ <remote-id type="github">votca/moo</remote-id> |
35 |
+ </upstream> |
36 |
+</pkgmetadata> |
37 |
|
38 |
diff --git a/sci-libs/votca-moo/votca-moo-9999.ebuild b/sci-libs/votca-moo/votca-moo-9999.ebuild |
39 |
new file mode 100644 |
40 |
index 00000000000..01f3524290d |
41 |
--- /dev/null |
42 |
+++ b/sci-libs/votca-moo/votca-moo-9999.ebuild |
43 |
@@ -0,0 +1,41 @@ |
44 |
+# Copyright 1999-2017 Gentoo Foundation |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=6 |
48 |
+ |
49 |
+CMAKE_MAKEFILE_GENERATOR="ninja" |
50 |
+ |
51 |
+inherit cmake-utils multilib |
52 |
+ |
53 |
+if [ "${PV}" != "9999" ]; then |
54 |
+ SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
55 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos" |
56 |
+ S="${WORKDIR}/${P#votca-}" |
57 |
+else |
58 |
+ inherit git-r3 |
59 |
+ EGIT_REPO_URI="https://github.com/${PN/-//}.git" |
60 |
+ KEYWORDS="" |
61 |
+fi |
62 |
+ |
63 |
+DESCRIPTION="Votca Molecular orbital library" |
64 |
+HOMEPAGE="http://www.votca.org" |
65 |
+ |
66 |
+LICENSE="Apache-2.0" |
67 |
+SLOT="0" |
68 |
+IUSE="" |
69 |
+ |
70 |
+RDEPEND=" |
71 |
+ dev-libs/boost:= |
72 |
+ =sci-libs/votca-tools-${PV}[sqlite] |
73 |
+ dev-db/sqlite:3" |
74 |
+ |
75 |
+DEPEND="${RDEPEND}" |
76 |
+ |
77 |
+DOCS=( NOTICE README ) |
78 |
+ |
79 |
+src_configure() { |
80 |
+ mycmakeargs=( |
81 |
+ -DLIB=$(get_libdir) |
82 |
+ ) |
83 |
+ cmake-utils_src_configure |
84 |
+} |