/[gentoo-x86]/sci-libs/mccp4/mccp4-0.7.1.ebuild
Gentoo

Contents of /sci-libs/mccp4/mccp4-0.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Apr 8 07:57:22 2008 UTC (6 years, 8 months ago) by dberkholz
Branch: MAIN
Changes since 1.4: +11 -3 lines
(#176860) Fix amd64 build (Justin T. Riley), keyword ~amd64.
(Portage version: 2.1.5_rc2)

1 dberkholz 1.5 # Copyright 1999-2008 Gentoo Foundation
2 spyderous 1.1 # Distributed under the terms of the GNU General Public License v2
3 dberkholz 1.5 # $Header: /var/cvsroot/gentoo-x86/sci-libs/mccp4/mccp4-0.7.1.ebuild,v 1.4 2006/09/26 08:00:55 dberkholz Exp $
4    
5     inherit eutils
6 spyderous 1.1
7     DESCRIPTION="Mini-CCP4 library including mtz and map I/O"
8 spyderous 1.2 HOMEPAGE="http://www.ccp4.ac.uk/"
9 spyderous 1.1 SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/extras/${P}.tar.gz"
10     LICENSE="ccp4"
11     SLOT="0"
12 dberkholz 1.5 KEYWORDS="~amd64 ppc x86"
13 spyderous 1.1 IUSE=""
14     RDEPEND=""
15     DEPEND="${RDEPEND}"
16     RESTRICT="mirror"
17    
18 dberkholz 1.5 src_unpack() {
19     unpack ${A}
20     cd "${S}"
21     epatch "${FILESDIR}"/0.7.1-add-amd64-support.patch
22     }
23    
24 spyderous 1.1 src_compile() {
25     econf \
26     --includedir='${prefix}/include/mccp4' \
27     || die "configure failed"
28     emake || die "make failed"
29     }
30    
31     src_install() {
32     make DESTDIR="${D}" install || die "install failed"
33     }

  ViewVC Help
Powered by ViewVC 1.1.20