aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-07-03 10:53:52 +0200
committerJustin Lecher <jlec@gentoo.org>2014-07-03 10:53:52 +0200
commitf8cf0af19be4b013e93fa67566f08f292d05d89a (patch)
tree7100a999bb44c1587a58ad86afecd37863e4e5e0
parentMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/sci (diff)
downloadsci-f8cf0af19be4b013e93fa67566f08f292d05d89a.tar.gz
sci-f8cf0af19be4b013e93fa67566f08f292d05d89a.tar.bz2
sci-f8cf0af19be4b013e93fa67566f08f292d05d89a.zip
sci-chemistry/cpmgfit: New package written by me
Package-Manager: portage-2.2.10 RepoMan-Options: --force
-rw-r--r--sci-chemistry/cpmgfit/ChangeLog10
-rw-r--r--sci-chemistry/cpmgfit/Manifest1
-rw-r--r--sci-chemistry/cpmgfit/cpmgfit-1.43.ebuild49
-rw-r--r--sci-chemistry/cpmgfit/metadata.xml5
4 files changed, 65 insertions, 0 deletions
diff --git a/sci-chemistry/cpmgfit/ChangeLog b/sci-chemistry/cpmgfit/ChangeLog
new file mode 100644
index 000000000..7eb5da667
--- /dev/null
+++ b/sci-chemistry/cpmgfit/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/cpmgfit
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*cpmgfit-1.43 (03 Jul 2014)
+
+ 03 Jul 2014; Justin Lecher <jlec@gentoo.org> +cpmgfit-1.43.ebuild,
+ +metadata.xml:
+ New package written by me
+
diff --git a/sci-chemistry/cpmgfit/Manifest b/sci-chemistry/cpmgfit/Manifest
new file mode 100644
index 000000000..ba3c56168
--- /dev/null
+++ b/sci-chemistry/cpmgfit/Manifest
@@ -0,0 +1 @@
+DIST cpmgfit-1.43.tar.gz 89002 SHA256 b96c356c9783d95ee1fe14f2fdc66fa80d2f1839d538f9417747829527befc2a SHA512 ad10ec8cde4eb13dd21f99ebca5552ec844b89785a0485df287e8fad7b63a2f99cd713d281904d2f83cc9485c5fc0a0b3f963d23af8785f0277cb1f7418051a3 WHIRLPOOL c8368f69ed2e3c17da84397f014a590cc83ce69ca33e8f798efc84e22538dab4b0c3917737cb4c497bac78847404afb02cba61cb7d3aa73a836cf5b51e66e624
diff --git a/sci-chemistry/cpmgfit/cpmgfit-1.43.ebuild b/sci-chemistry/cpmgfit/cpmgfit-1.43.ebuild
new file mode 100644
index 000000000..37c657edd
--- /dev/null
+++ b/sci-chemistry/cpmgfit/cpmgfit-1.43.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit fortran-2 multilib
+
+DESCRIPTION="non-linear least squares fitting of CPMG relaxation dispersion curves"
+HOMEPAGE="http://biochemistry.hs.columbia.edu/labs/palmer/software/cpmgfit.html"
+SRC_URI="http://biochemistry.hs.columbia.edu/labs/palmer/software/cpmgfit.linux.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+ sci-libs/blas-reference
+ sys-devel/gcc:4.1"
+DEPEND="dev-util/patchelf"
+
+S="${WORKDIR}"/linux
+
+QA_PREBUILT="opt/bin/.*"
+
+src_install() {
+ local _exe
+
+ exeinto /opt/bin
+ if use x86; then
+ _exe=./linux_32/${PN}
+ elif use amd64; then
+ _exe=./linux_64/${PN}
+ fi
+
+ patchelf --set-rpath "${EPREFIX}/opt/${PN}:${EPREFIX}/usr/$(get_libdir)/gcc/x86_64-pc-linux-gnu/4.1.2/" ${_exe}
+
+ doexe ${_exe}
+
+ dosym ../../usr/$(get_libdir)/librefblas.so /opt/${PN}/libblas.so.3
+
+ dohtml ${PN}_manual.html
+
+ if use examples; then
+ insinto /usr/share/${PN}/examples/
+ doins sample*
+ fi
+}
diff --git a/sci-chemistry/cpmgfit/metadata.xml b/sci-chemistry/cpmgfit/metadata.xml
new file mode 100644
index 000000000..51fdedab1
--- /dev/null
+++ b/sci-chemistry/cpmgfit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+</pkgmetadata>