summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-02-04 23:24:50 +0000
committerJustin Lecher <jlec@gentoo.org>2010-02-04 23:24:50 +0000
commit401a642a3513bdb47f0ee78ef4a8becfa44670e1 (patch)
treeed67b1b265c8bd94008b7a454a6c8d5f534ff34a /sci-libs/balbes-db
parentVersion Bump, fixes bug 280263 (diff)
downloadgentoo-2-401a642a3513bdb47f0ee78ef4a8becfa44670e1.tar.gz
gentoo-2-401a642a3513bdb47f0ee78ef4a8becfa44670e1.tar.bz2
gentoo-2-401a642a3513bdb47f0ee78ef4a8becfa44670e1.zip
The database for the BALBES automated crystallographic molecular replacement pipeline
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/balbes-db')
-rw-r--r--sci-libs/balbes-db/ChangeLog10
-rw-r--r--sci-libs/balbes-db/balbes-db-6.1.3.ebuild47
-rw-r--r--sci-libs/balbes-db/metadata.xml8
3 files changed, 65 insertions, 0 deletions
diff --git a/sci-libs/balbes-db/ChangeLog b/sci-libs/balbes-db/ChangeLog
new file mode 100644
index 000000000000..4c6922152ada
--- /dev/null
+++ b/sci-libs/balbes-db/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/balbes-db
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/balbes-db/ChangeLog,v 1.1 2010/02/04 23:24:50 jlec Exp $
+
+*balbes-db-6.1.3 (04 Feb 2010)
+
+ 04 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ +balbes-db-6.1.3.ebuild, +metadata.xml:
+ Balbes Fragment Database
+
diff --git a/sci-libs/balbes-db/balbes-db-6.1.3.ebuild b/sci-libs/balbes-db/balbes-db-6.1.3.ebuild
new file mode 100644
index 000000000000..bec7ac9fb27b
--- /dev/null
+++ b/sci-libs/balbes-db/balbes-db-6.1.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/balbes-db/balbes-db-6.1.3.ebuild,v 1.1 2010/02/04 23:24:50 jlec Exp $
+
+EAPI="3"
+
+MY_P="ccp4-${PV}"
+
+SRC="ftp://ftp.ccp4.ac.uk/ccp4"
+VERSION="10-11-08"
+
+DESCRIPTION="The database for the BALBES automated crystallographic molecular replacement pipeline"
+HOMEPAGE="http://www.ysbl.york.ac.uk/~fei/balbes/"
+SRC_URI="${SRC}/${PV}/${MY_P}-${PN/-/}-${VERSION}.tar.gz"
+
+LICENSE="ccp4"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-python/pyxml-0.8.4
+ sci-libs/monomer-db"
+DEPEND="${RDEPEND}"
+RESTRICT="binchecks strip"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ dodir /usr/share/balbes/BALBES_0.0.1
+ rm -rf share/balbes/BALBES_0.0.1/dic
+ # We don't want to wait around to copy all this, or suck up double
+ # the disk space
+ einfo "Installing files, which can take some time ..."
+ mv "${S}"/share/balbes/BALBES_0.0.1/* "${ED}"/usr/share/balbes/BALBES_0.0.1/ || die
+ # db files should be executable
+ find "${D}"/usr/share/balbes/BALBES_0.0.1/ \
+ -type f \
+ -exec chmod 664 '{}' \;
+ dosym ../../../ccp4/data/monomers /usr/share/balbes/BALBES_0.0.1/dic || die
+
+ cat >> "${T}"/20balbes <<- EOF
+ BALBES_ROOT="${EPREFIX}/usr/share/balbes/BALBES_0.0.1/"
+ EOF
+
+ doenvd "${T}"/20balbes
+}
diff --git a/sci-libs/balbes-db/metadata.xml b/sci-libs/balbes-db/metadata.xml
new file mode 100644
index 000000000000..efb490d78817
--- /dev/null
+++ b/sci-libs/balbes-db/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</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>