Add the Crystallographic Object-Oriented Toolkit for model building, completion and...
authorDonnie Berkholz <dberkholz@gentoo.org>
Fri, 16 Jun 2006 22:19:05 +0000 (22:19 +0000)
committerDonnie Berkholz <dberkholz@gentoo.org>
Fri, 16 Jun 2006 22:19:05 +0000 (22:19 +0000)
Package-Manager: portage-2.1.1_pre1

sci-chemistry/coot/ChangeLog [new file with mode: 0644]
sci-chemistry/coot/Manifest [new file with mode: 0644]
sci-chemistry/coot/coot-0.1.2_pre1.ebuild [new file with mode: 0644]
sci-chemistry/coot/files/digest-coot-0.1.2_pre1 [new file with mode: 0644]
sci-chemistry/coot/metadata.xml [new file with mode: 0644]

diff --git a/sci-chemistry/coot/ChangeLog b/sci-chemistry/coot/ChangeLog
new file mode 100644 (file)
index 0000000..a02a634
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for sci-chemistry/coot
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/ChangeLog,v 1.1 2006/06/16 22:19:05 spyderous Exp $
+
+*coot-0.1.2_pre1 (16 Jun 2006)
+
+  16 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; +metadata.xml,
+  +coot-0.1.2_pre1.ebuild:
+  Add the Crystallographic Object-Oriented Toolkit for model building,
+  completion and validation.
+
diff --git a/sci-chemistry/coot/Manifest b/sci-chemistry/coot/Manifest
new file mode 100644 (file)
index 0000000..c074089
--- /dev/null
@@ -0,0 +1,16 @@
+DIST coot-0.1.2-pre-1.tar.gz 2759927 RMD160 e54818e72274288f125661e09e2a834f83230604 SHA1 94d5f4860b6d6d02e66dc69c0706fc8a7f170987 SHA256 32e370f7b55bdcfbb341fa6c631a9a485ce3e066ced96ddb27cbdc26d48d24cf
+EBUILD coot-0.1.2_pre1.ebuild 2290 RMD160 a90b4924fa3848c194e124ce8a64ee87969def5a SHA1 effcd93c6b1427cbeff2d8c9b26ca4cb6ed316b9 SHA256 984a138874ef92c6eb48ce46b0684b35a803f16f1c0a9b90f450baa83d1bcabc
+MD5 3ba6a37984548b018a3efee6002aaf84 coot-0.1.2_pre1.ebuild 2290
+RMD160 a90b4924fa3848c194e124ce8a64ee87969def5a coot-0.1.2_pre1.ebuild 2290
+SHA256 984a138874ef92c6eb48ce46b0684b35a803f16f1c0a9b90f450baa83d1bcabc coot-0.1.2_pre1.ebuild 2290
+MISC ChangeLog 442 RMD160 c5b0a1905641f9819de3d386719809da519d50ab SHA1 9630666673f064cacd01d87fccdcec2a52e80bfa SHA256 1ed4f3f07da6e4862046cb94d7a76e0accb9bade26d170705e542c08b9f44be9
+MD5 bb222d31123bed12cbcfb2e9c909e3f0 ChangeLog 442
+RMD160 c5b0a1905641f9819de3d386719809da519d50ab ChangeLog 442
+SHA256 1ed4f3f07da6e4862046cb94d7a76e0accb9bade26d170705e542c08b9f44be9 ChangeLog 442
+MISC metadata.xml 248 RMD160 6488d9f1ef3e05e6ac5a29ddcc818e5ead0a5230 SHA1 75a648fddef9922cdfe21fb0298a1c746190fd82 SHA256 de0ad7dc383b462c407cae015684d27c090455eac87c6f0f9ff581ef6e0b5b27
+MD5 af1bfbb0777267a03e889b08173f2757 metadata.xml 248
+RMD160 6488d9f1ef3e05e6ac5a29ddcc818e5ead0a5230 metadata.xml 248
+SHA256 de0ad7dc383b462c407cae015684d27c090455eac87c6f0f9ff581ef6e0b5b27 metadata.xml 248
+MD5 4dbc02767e6b27d8f3569cf6af79cc21 files/digest-coot-0.1.2_pre1 253
+RMD160 d8011ba50b97f25d69286530859110d518c10fe2 files/digest-coot-0.1.2_pre1 253
+SHA256 620c6c8e0faf9a2566a468132cdabfdc7f90ccb1fb26a1d9a33f01c2f472f1ce files/digest-coot-0.1.2_pre1 253
diff --git a/sci-chemistry/coot/coot-0.1.2_pre1.ebuild b/sci-chemistry/coot/coot-0.1.2_pre1.ebuild
new file mode 100644 (file)
index 0000000..36455df
--- /dev/null
@@ -0,0 +1,89 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.1.2_pre1.ebuild,v 1.1 2006/06/16 22:19:05 spyderous Exp $
+
+inherit autotools
+
+MY_PV=${PV/_pre/-pre-}
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Crystallographic Object-Oriented Toolkit for model building, completion and validation"
+HOMEPAGE="http://www.ysbl.york.ac.uk/~emsley/coot/"
+if [[ ${MY_PV} = *pre* ]]; then
+       SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/pre-release/${MY_P}.tar.gz"
+else
+       SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/${MY_P}.tar.gz"
+fi
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RDEPEND=">=sci-libs/gsl-1.3
+       =dev-libs/glib-1.2*
+       =x11-libs/gtkglarea-1.2*
+       virtual/glut
+       virtual/opengl
+       sci-chemistry/ccp4
+       dev-lang/python
+       x11-libs/gtk-canvas
+       dev-lang/python
+       x11-libs/guile-gtk
+       dev-scheme/guile-gui
+       dev-scheme/net-http
+       dev-scheme/goosh
+       dev-scheme/guile-www
+       sci-libs/coot-data
+       sci-chemistry/reduce
+       sci-chemistry/probe"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+       unpack ${A}
+
+       # Link against single-precision fftw
+       sed -i \
+               -e "s:lfttw:lsfttw:g" \
+               -e "s:lrfttw:lsrfttw:g" \
+               "${S}"/macros/clipper.m4
+
+       # Don't install setup scripts, they're only needed for nonstandard prefixes
+       sed -i \
+               -e "s:^\(setup.*\):#\1:g" \
+               -e "s:.*\(bin_.*\):\1:g" \
+               "${S}"/setup/Makefile.am
+
+       # Fix where it looks for some binaries
+       sed -i \
+               -e "s:/y/people/emsley/coot/Linux/bin/probe.2.11.050121.linux.RH9:${ROOT}usr/bin/probe:g" \
+               -e "s:/y/people/emsley/coot/Linux/bin/reduce.2.21.030604:${ROOT}usr/bin/reduce:g" \
+               "${S}"/scheme/group-settings.scm
+
+       cd "${S}"
+       AT_M4DIR="macros" eautoreconf
+}
+
+src_compile() {
+       # All the --with's are used to activate various parts.
+       # Yes, this is broken behavior.
+       econf \
+               --includedir='${prefix}/include/coot' \
+               --with-gtkcanvas-prefix=/usr \
+               --with-clipper-prefix=/usr \
+               --with-mmdb-prefix=/usr \
+               --with-ssmlib-prefix=/usr \
+               --with-guile=/usr \
+               --with-python=/usr \
+               || die "econf failed"
+
+       # Parallel build's broken
+       emake -j1 || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "install failed"
+
+       # Install misses this
+       insinto /usr/share/coot/python
+       doins "${S}"/src/coot.py
+}
diff --git a/sci-chemistry/coot/files/digest-coot-0.1.2_pre1 b/sci-chemistry/coot/files/digest-coot-0.1.2_pre1
new file mode 100644 (file)
index 0000000..7e8520a
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 632cf09e08d037288a50a34beb442ab3 coot-0.1.2-pre-1.tar.gz 2759927
+RMD160 e54818e72274288f125661e09e2a834f83230604 coot-0.1.2-pre-1.tar.gz 2759927
+SHA256 32e370f7b55bdcfbb341fa6c631a9a485ce3e066ced96ddb27cbdc26d48d24cf coot-0.1.2-pre-1.tar.gz 2759927
diff --git a/sci-chemistry/coot/metadata.xml b/sci-chemistry/coot/metadata.xml
new file mode 100644 (file)
index 0000000..211b8bd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+<email>spyderous@gentoo.org</email>
+<name>Donnie Berkholz</name>
+</maintainer>
+</pkgmetadata>