blob: 74c4b3a2d8fc296cd91e979dcb9b463a14ea4637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2011 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.6 2011/01/01 21:57:26 hwoarang Exp $
EAPI="3"
inherit eutils toolchain-funcs
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
}
|