1 |
spyderous |
1.1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
3 |
spyderous |
1.3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/mccp4/mccp4-0.7.1.ebuild,v 1.2 2006/02/23 23:18:15 spyderous Exp $ |
4 |
spyderous |
1.1 |
|
5 |
|
|
DESCRIPTION="Mini-CCP4 library including mtz and map I/O" |
6 |
spyderous |
1.2 |
HOMEPAGE="http://www.ccp4.ac.uk/" |
7 |
spyderous |
1.1 |
SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/extras/${P}.tar.gz" |
8 |
|
|
LICENSE="ccp4" |
9 |
|
|
SLOT="0" |
10 |
spyderous |
1.3 |
KEYWORDS="~ppc ~x86" |
11 |
spyderous |
1.1 |
IUSE="" |
12 |
|
|
RDEPEND="" |
13 |
|
|
DEPEND="${RDEPEND}" |
14 |
|
|
RESTRICT="mirror" |
15 |
|
|
|
16 |
|
|
src_compile() { |
17 |
|
|
econf \ |
18 |
|
|
--includedir='${prefix}/include/mccp4' \ |
19 |
|
|
|| die "configure failed" |
20 |
|
|
emake || die "make failed" |
21 |
|
|
} |
22 |
|
|
|
23 |
|
|
src_install() { |
24 |
|
|
make DESTDIR="${D}" install || die "install failed" |
25 |
|
|
} |