From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/redcat/, sci-chemistry/redcat/files/
Date: Tue, 22 Jul 2014 06:24:20 +0000 (UTC) [thread overview]
Message-ID: <1406010243.2d31cad7dc40c77ad0c47d90e2b5f9b78c107b9b.jlec@gentoo> (raw)
commit: 2d31cad7dc40c77ad0c47d90e2b5f9b78c107b9b
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 22 06:24:03 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 06:24:03 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2d31cad7
sci-chemistry/redcat: New package written by me
Package-Manager: portage-2.2.10
---
sci-chemistry/redcat/ChangeLog | 14 +++++++
sci-chemistry/redcat/files/CMakeLists.txt | 13 +++++++
sci-chemistry/redcat/metadata.xml | 8 ++++
sci-chemistry/redcat/redcat-3.ebuild | 62 +++++++++++++++++++++++++++++++
4 files changed, 97 insertions(+)
diff --git a/sci-chemistry/redcat/ChangeLog b/sci-chemistry/redcat/ChangeLog
new file mode 100644
index 0000000..665093e
--- /dev/null
+++ b/sci-chemistry/redcat/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for sci-chemistry/redcat
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 22 Jul 2014; Justin Lecher <jlec@gentoo.org> +redcat-3.ebuild,
+ +files/CMakeLists.txt, +metadata.xml:
+ New package written by me
+
+*redcat-3 (17 Jul 2014)
+
+ 17 Jul 2014; Justin Lecher <jlec@gentoo.org> +redcat-3.ebuild,
+ +files/CMakeLists.txt, +.listing, +metadata.xml:
+ New package written by me
+
diff --git a/sci-chemistry/redcat/files/CMakeLists.txt b/sci-chemistry/redcat/files/CMakeLists.txt
new file mode 100644
index 0000000..d8896a9
--- /dev/null
+++ b/sci-chemistry/redcat/files/CMakeLists.txt
@@ -0,0 +1,13 @@
+cmake_minimum_required (VERSION 2.8)
+project (Redcat)
+
+find_package(Eigen3 REQUIRED)
+
+include_directories (${Redcat_SOURCE_DIR}/src)
+include_directories (${EIGEN_INCLUDE_DIR})
+
+add_executable (Redcat src/main.cpp src/Redcat.cpp src/tensor.cpp src/matrix.cpp src/SVDiface.cpp)
+add_executable (Dynamic src/Dynamic.cpp)
+
+install (TARGETS Redcat Dynamic DESTINATION bin)
+
diff --git a/sci-chemistry/redcat/metadata.xml b/sci-chemistry/redcat/metadata.xml
new file mode 100644
index 0000000..ae9ec7c
--- /dev/null
+++ b/sci-chemistry/redcat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-chemistry/redcat/redcat-3.ebuild b/sci-chemistry/redcat/redcat-3.ebuild
new file mode 100644
index 0000000..dfa1ecf
--- /dev/null
+++ b/sci-chemistry/redcat/redcat-3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils java-utils-2
+
+DESCRIPTION="Analysis of residual dipolar couplings (RDCs) for structure validation and elucidation"
+HOMEPAGE="http://ifestos.cse.sc.edu/software.php"
+SRC_URI="http://ifestos.cse.sc.edu/downloads.php?get=Redcat.${PV}.tar.gz -> Redcat.${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ dev-cpp/eigen:3
+ dev-lang/tcl
+ dev-tcltk/bwidget
+ virtual/jdk:1.7
+ "
+DEPEND="${RDEPEND}
+ virtual/jre:1.7
+"
+
+RESTRICT="fetch"
+
+S="${WORKDIR}"/Redcat
+
+pkg_nofetch() {
+ elog "Please download ${A} from"
+ elog "http://ifestos.cse.sc.edu/downloads.php"
+}
+
+src_prepare() {
+ cp "${FILESDIR}"/CMakeLists.txt . || die
+ sed \
+ -e '/BWidget/s:1.9.4:1.9.7:g' \
+ -i scripts/REDCAT.tcl || die
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ java-pkg_dojar XplorGUI/XplorGUI.jar
+ java-pkg_dolauncher XplorGUI --jar XplorGUI.jar
+
+ dodoc Misc/REDCATManual.odt
+ docompress -x /usr/share/doc/${PF}/REDCATManual.odt
+
+ exeinto /usr/libexec/${PN}
+ doexe scripts/*
+
+ dosym ../libexec/${PN}/REDCAT.tcl /usr/bin/REDCAT.tcl
+ dosym ../libexec/${PN}/MakeRedcat.tcl /usr/bin/MakeRedcat.tcl
+
+ echo "${EPREFIX}/usr/share/redcat/" > conf/${PN}.conf
+ insinto /usr/share/redcat/
+ doins -r conf/${PN}.conf vmd data
+}
reply other threads:[~2014-07-22 6:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1406010243.2d31cad7dc40c77ad0c47d90e2b5f9b78c107b9b.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox