From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2BF8D1392EF for ; Tue, 22 Jul 2014 06:24:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1280FE0D24; Tue, 22 Jul 2014 06:24:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DCBBE0CE9 for ; Tue, 22 Jul 2014 06:24:22 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5897A3400BB for ; Tue, 22 Jul 2014 06:24:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 1B4D6193E7 for ; Tue, 22 Jul 2014 06:24:20 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1406010243.2d31cad7dc40c77ad0c47d90e2b5f9b78c107b9b.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/redcat/, sci-chemistry/redcat/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/redcat/ChangeLog sci-chemistry/redcat/files/CMakeLists.txt sci-chemistry/redcat/metadata.xml sci-chemistry/redcat/redcat-3.ebuild X-VCS-Directories: sci-chemistry/redcat/ sci-chemistry/redcat/files/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 2d31cad7dc40c77ad0c47d90e2b5f9b78c107b9b X-VCS-Branch: master Date: Tue, 22 Jul 2014 06:24:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 886f4504-2010-4290-b30d-1dfea880175a X-Archives-Hash: e9e49c35b2d792eaf5e0d9c443e798c2 commit: 2d31cad7dc40c77ad0c47d90e2b5f9b78c107b9b Author: Justin Lecher gentoo org> AuthorDate: Tue Jul 22 06:24:03 2014 +0000 Commit: Justin Lecher gentoo 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 +redcat-3.ebuild, + +files/CMakeLists.txt, +metadata.xml: + New package written by me + +*redcat-3 (17 Jul 2014) + + 17 Jul 2014; Justin Lecher +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 @@ + + + + sci-chemistry + + jlec@gentoo.org + + 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 +}