# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-libs/mccp4/mccp4-0.7.1.ebuild,v 1.4 2006/09/26 08:00:55 dberkholz Exp $ DESCRIPTION="Mini-CCP4 library including mtz and map I/O" HOMEPAGE="http://www.ccp4.ac.uk/" SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/extras/${P}.tar.gz" LICENSE="ccp4" SLOT="0" KEYWORDS="ppc x86" IUSE="" RDEPEND="" DEPEND="${RDEPEND}" RESTRICT="mirror" src_compile() { econf \ --includedir='${prefix}/include/mccp4' \ || die "configure failed" emake || die "make failed" } src_install() { make DESTDIR="${D}" install || die "install failed" }