diff options
author | 2005-12-20 04:11:02 +0000 | |
---|---|---|
committer | 2005-12-20 04:11:02 +0000 | |
commit | e2d1712670c91b36d584ba5532dcd638c53ab9f6 (patch) | |
tree | 3550ddc8fffdc580ba134c3b07a29c56b031d363 /sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild | |
parent | Libraries needed to build the other RCSB Protein Data Bank tools. (diff) | |
download | historical-e2d1712670c91b36d584ba5532dcd638c53ab9f6.tar.gz historical-e2d1712670c91b36d584ba5532dcd638c53ab9f6.tar.bz2 historical-e2d1712670c91b36d584ba5532dcd638c53ab9f6.zip |
Extract lots of information from Protein Data Bank files.
Package-Manager: portage-2.1_pre1
Diffstat (limited to 'sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild')
-rw-r--r-- | sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild b/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild new file mode 100644 index 000000000000..8f771eb92c98 --- /dev/null +++ b/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild,v 1.1 2005/12/20 04:11:02 spyderous Exp $ + +inherit eutils toolchain-funcs multilib + +MY_P="${PN}-v${PV}-prod-src" +DESCRIPTION="Tools for extracting mmCIF data from structure determination 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-libs/cifparse-obj" +PDEPEND="sci-libs/rcsb-data" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/respect-cflags-and-fix-install.patch + cd ${S} + + # Get rid of unneeded directories, to make sure we use system files + ebegin "Deleting redundant directories" + rm -rf btree-obj* ciflib-common* cifobj-common* cif-table-obj* maxit* \ + misclib* regex* validation* + eend + + sed -i \ + -e "s:^\(CCC=\).*:\1$(tc-getCXX):g" \ + -e "s:^\(GINCLUDE=\).*:\1-I${ROOT}usr/include/rcsb:g" \ + -e "s:^\(LIBDIR=\).*:\1${ROOT}usr/$(get_libdir):g" \ + ${S}/etc/make.* +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + exeinto /usr/bin + doexe bin/* + dolib.a lib/* + insinto /usr/include/rcsb + doins include/* + dodoc README-source README +} |