summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2005-12-20 04:08:40 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2005-12-20 04:08:40 +0000
commit828e17c896183f86bf421dd38779c930d4fce6c0 (patch)
treec59c8708baa30cb0965b0e6ef541597e68a0c0c8 /sci-libs/rcsb-data
parentremove dep on saxon-bin in freewrl (diff)
downloadgentoo-2-828e17c896183f86bf421dd38779c930d4fce6c0.tar.gz
gentoo-2-828e17c896183f86bf421dd38779c930d4fce6c0.tar.bz2
gentoo-2-828e17c896183f86bf421dd38779c930d4fce6c0.zip
Part of the RCSB Protein Data Bank tools. Provides the data necessary to run the other applications.
(Portage version: 2.1_pre1)
Diffstat (limited to 'sci-libs/rcsb-data')
-rw-r--r--sci-libs/rcsb-data/ChangeLog11
-rw-r--r--sci-libs/rcsb-data/Manifest6
-rw-r--r--sci-libs/rcsb-data/files/digest-rcsb-data-1.7001
-rw-r--r--sci-libs/rcsb-data/files/respect-bindir.patch30
-rw-r--r--sci-libs/rcsb-data/metadata.xml9
-rw-r--r--sci-libs/rcsb-data/rcsb-data-1.700.ebuild41
6 files changed, 98 insertions, 0 deletions
diff --git a/sci-libs/rcsb-data/ChangeLog b/sci-libs/rcsb-data/ChangeLog
new file mode 100644
index 000000000000..4703578f4930
--- /dev/null
+++ b/sci-libs/rcsb-data/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-libs/rcsb-data
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/rcsb-data/ChangeLog,v 1.1 2005/12/20 04:08:40 spyderous Exp $
+
+*rcsb-data-1.700 (20 Dec 2005)
+
+ 20 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
+ +files/respect-bindir.patch, +metadata.xml, +rcsb-data-1.700.ebuild:
+ Part of the RCSB Protein Data Bank tools. Provides the data necessary to run
+ the other applications.
+
diff --git a/sci-libs/rcsb-data/Manifest b/sci-libs/rcsb-data/Manifest
new file mode 100644
index 000000000000..d2f9aca53829
--- /dev/null
+++ b/sci-libs/rcsb-data/Manifest
@@ -0,0 +1,6 @@
+MD5 f0539a87f3decb3c2a841511143cabb9 files/digest-pdb-extract-1.700 80
+MD5 f0539a87f3decb3c2a841511143cabb9 files/digest-rcsb-data-1.700 80
+MD5 2945df7eb475ba3da5fba282404ba5ec files/digest-validation-8.061 79
+MD5 008f15f3e5c0253396f3c44e4193cb5b files/respect-bindir.patch 798
+MD5 e315289ad58f3b5fb006bbf4d2b482a2 files/respect-cflags-and-fix-install.patch 8415
+MD5 7561654f403f92d45353ada799ba6937 rcsb-data-1.700.ebuild 923
diff --git a/sci-libs/rcsb-data/files/digest-rcsb-data-1.700 b/sci-libs/rcsb-data/files/digest-rcsb-data-1.700
new file mode 100644
index 000000000000..abb82a2a5747
--- /dev/null
+++ b/sci-libs/rcsb-data/files/digest-rcsb-data-1.700
@@ -0,0 +1 @@
+MD5 8023ecb2deb2b4cd6fcc2e8f32e8b21a pdb-extract-v1.700-prod-src.tar.gz 9081548
diff --git a/sci-libs/rcsb-data/files/respect-bindir.patch b/sci-libs/rcsb-data/files/respect-bindir.patch
new file mode 100644
index 000000000000..a7925c489591
--- /dev/null
+++ b/sci-libs/rcsb-data/files/respect-bindir.patch
@@ -0,0 +1,30 @@
+diff -urN pdb-extract-v1.700-prod-src.orig/etc/binary.sh pdb-extract-v1.700-prod-src/etc/binary.sh
+--- pdb-extract-v1.700-prod-src.orig/etc/binary.sh 2005-12-18 23:53:45.000000000 -0800
++++ pdb-extract-v1.700-prod-src/etc/binary.sh 2005-12-18 23:55:49.000000000 -0800
+@@ -6,6 +6,8 @@
+ #
+ # Assumptions: Script is started from within the etc directory.
+
++BINDIR="/usr/bin"
++
+ # Change mode of data directory recursively to allow full access.
+ chmod -R 777 ../data
+
+@@ -31,7 +33,7 @@
+
+ # Create component.odb
+
+-./bin/connect -all
++${BINDIR}/connect -all
+
+ # Move the result to the binary directory
+ mv component_new.odb data/binary/component.odb
+@@ -44,7 +46,7 @@
+
+
+ # Start main binary production
+-./bin/binary_main -dic -path .
++${BINDIR}/binary_main -dic -path .
+
+
+ # Cleanup all files
diff --git a/sci-libs/rcsb-data/metadata.xml b/sci-libs/rcsb-data/metadata.xml
new file mode 100644
index 000000000000..211b8bd0f0a4
--- /dev/null
+++ b/sci-libs/rcsb-data/metadata.xml
@@ -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>
diff --git a/sci-libs/rcsb-data/rcsb-data-1.700.ebuild b/sci-libs/rcsb-data/rcsb-data-1.700.ebuild
new file mode 100644
index 000000000000..316b4f59ee89
--- /dev/null
+++ b/sci-libs/rcsb-data/rcsb-data-1.700.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/rcsb-data/rcsb-data-1.700.ebuild,v 1.1 2005/12/20 04:08:40 spyderous Exp $
+
+inherit eutils
+
+MY_PN="pdb-extract"
+MY_P="${MY_PN}-v${PV}-prod-src"
+DESCRIPTION="Data required to run RCSB PDB applications"
+HOMEPAGE="http://sw-tools.pdb.org/apps/PDB_EXTRACT/index.html"
+SRC_URI="http://sw-tools.pdb.org/apps/PDB_EXTRACT/${MY_P}.tar.gz"
+LICENSE="PDB"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RDEPEND=""
+DEPEND="${RDEPEND}
+ sci-chemistry/pdb-extract"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/respect-bindir.patch
+ sed -i \
+ -e "s:^\(BINDIR=\).*:\1${ROOT}usr/bin:g" \
+ ${S}/etc/binary.sh
+}
+
+src_compile() {
+ emake binary || die "make binary failed"
+}
+
+src_install() {
+ insinto /usr/lib/rcsb/data/binary
+ doins data/binary/*
+ insinto /usr/lib/rcsb/data/ascii
+ doins data/ascii/*
+
+ echo "RCSBROOT=\"/usr/lib/rcsb\"" > ${T}/env.d
+ newenvd ${T}/env.d 50validation
+}