# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-extract/pdb-extract-3.004-r2.ebuild,v 1.1 2010/06/15 14:45:45 jlec Exp $ EAPI="3" inherit eutils toolchain-funcs multilib prefix 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="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND="!> "${T}"/envd <<- EOF PDB_EXTRACT="${EPREFIX}/usr/share/rcsb/" PDB_EXTRACT_ROOT="${EPREFIX}/usr/" EOF newenvd "${T}"/envd 20pdb-extract \ || die "failed to install env files" }