aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-01-08 17:36:04 -0800
committerDonnie Berkholz <dberkholz@gentoo.org>2008-01-08 17:36:04 -0800
commit442f8af07823e8769cd3d863a78951400310b7ec (patch)
tree3693b8af07e368df564f2961793b4dcf856e2225
parentKeyword ~ppc (diff)
downloaddberkholz-442f8af07823e8769cd3d863a78951400310b7ec.tar.gz
dberkholz-442f8af07823e8769cd3d863a78951400310b7ec.tar.bz2
dberkholz-442f8af07823e8769cd3d863a78951400310b7ec.zip
Add mammoth-mult.
-rw-r--r--sci-biology/mmult/ChangeLog12
-rw-r--r--sci-biology/mmult/Manifest4
-rw-r--r--sci-biology/mmult/metadata.xml5
-rw-r--r--sci-biology/mmult/mmult-1.0.ebuild52
4 files changed, 73 insertions, 0 deletions
diff --git a/sci-biology/mmult/ChangeLog b/sci-biology/mmult/ChangeLog
new file mode 100644
index 0000000..eef3342
--- /dev/null
+++ b/sci-biology/mmult/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sci-biology/mammoth
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/mammoth/ChangeLog,v 1.1 2007/12/10 09:11:28 dberkholz Exp $
+
+*mammoth-1.0 (10 Dec 2007)
+
+ 10 Dec 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/1.0-consistent-system-intrinsic.patch, +metadata.xml,
+ +mammoth-1.0.ebuild:
+ Add mammoth, a nice structural alignment program. It contains the MaxSub
+ algorithm, which is used by lots of people.
+
diff --git a/sci-biology/mmult/Manifest b/sci-biology/mmult/Manifest
new file mode 100644
index 0000000..695e1bb
--- /dev/null
+++ b/sci-biology/mmult/Manifest
@@ -0,0 +1,4 @@
+DIST mmult-1.0-src.tgz 241682 RMD160 4bc66b424cb97c3e6d12081e31fa9dc6a4451f0d SHA1 856883865eb2bf2953158cdd3f6894e2f28a569a SHA256 488b99f7a20b23a20a7e123c00f7057164430564c0b2eac42b164a97ac799a67
+EBUILD mmult-1.0.ebuild 1230 RMD160 0536c8fbd7e3cc6453f12b340adc20b5f7c2d3d9 SHA1 0ae7fa609d2e228f87c5291c8075d51d2ae552ff SHA256 995617ecba37b5086b8a018c31ca1a494cb3ec70577779095f6a216f0e585f62
+MISC ChangeLog 505 RMD160 3dcf795563bb2289ced1e149443bfd40489dfab6 SHA1 78742b43ecac3dc6af9eb36bf771b839a74b1c8d SHA256 b824b7cc06cc967569e17b2b1069bc68e2af392efee067eef4f57c18f9e8bd0c
+MISC metadata.xml 164 RMD160 2f441200f2672ab5f1efae7cbdb08b284603903c SHA1 61a50baedfd041e663d6c2a41a28b57e22dbb6de SHA256 f0897b09e661dc603041dab249d73253034659189becf1a34cca37a7d51ef72f
diff --git a/sci-biology/mmult/metadata.xml b/sci-biology/mmult/metadata.xml
new file mode 100644
index 0000000..34294c6
--- /dev/null
+++ b/sci-biology/mmult/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-biology</herd>
+</pkgmetadata>
diff --git a/sci-biology/mmult/mmult-1.0.ebuild b/sci-biology/mmult/mmult-1.0.ebuild
new file mode 100644
index 0000000..b345e94
--- /dev/null
+++ b/sci-biology/mmult/mmult-1.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/mammoth/mammoth-1.0.ebuild,v 1.1 2007/12/10 09:11:28 dberkholz Exp $
+
+inherit autotools eutils fortran
+
+MY_P="${P}-src"
+
+DESCRIPTION="MAtching Molecular Models Obtained from THeory"
+HOMEPAGE="http://ub.cbm.uam.es/software.php"
+SRC_URI="${MY_P}.tgz"
+LICENSE="mammoth"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RESTRICT="fetch"
+RDEPEND=""
+DEPEND="${RDEPEND}"
+S=${WORKDIR}/${MY_P}
+FORTRAN="gfortran g77"
+
+pkg_nofetch() {
+ einfo "Download the source code for MAMMOTH from"
+ einfo "${HOMEPAGE}"
+ einfo "and place it in ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ case ${FORTRANC} in
+ g77) append-fflags -ffixed-line-length-none ;;
+ gfortran) append-fflags -ffixed-line-length-none ;;
+ esac
+
+ # It comes with a custom-modified configure for some reason,
+ # which forces you to pass in the Fortran compiler as a parameter.
+ # Let's do the standard stuff instead.
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS || die
+}
+
+append-fflags() {
+ [[ -z $* ]] && return 0
+ export FFLAGS="${FFLAGS} $*"
+ return 0
+}