diff options
Diffstat (limited to 'sci-chemistry/makecif/makecif-5.6.6.ebuild')
-rw-r--r-- | sci-chemistry/makecif/makecif-5.6.6.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-chemistry/makecif/makecif-5.6.6.ebuild b/sci-chemistry/makecif/makecif-5.6.6.ebuild new file mode 100644 index 000000000000..fe041c47c902 --- /dev/null +++ b/sci-chemistry/makecif/makecif-5.6.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/makecif/makecif-5.6.6.ebuild,v 1.1 2010/06/15 08:16:52 jlec Exp $ + +EAPI="3" + +FORTRANC="ifc gfortran" + +inherit eutils fortran + +DESCRIPTION="PDB --> CIF convertor" +HOMEPAGE="http://www.ysbl.york.ac.uk/~alexei/makecif.html" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="ccp4" +IUSE="" + +S="${WORKDIR}"/${PN} + +DEPEND="" +RDEPEND=" + sci-libs/monomer-db + !<sci-chemistry/refmac-5.5.0110-r1" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-makefile.patch +} + +src_compile() { + cd src && emake clean + emake \ + BLANC_FORT="$(tc-getFC) ${FFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die +} + +src_install() { + dobin bin/* || die + dodoc readme || die +} |