blob: 03a9f603afa6e5247539e3ca2eaeebb908a24a36 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit base toolchain-funcs
DESCRIPTION="Intended to facilitate the transition from refmac5 refinement to shelxh or shelxl refinement"
HOMEPAGE="http://shelx.uni-ac.gwdg.de/~tg/mtz2x/mtz2hkl/mtz2hkl.php"
SRC_URI="http://shelx.uni-ac.gwdg.de/~tg/mtz2x/${PN}/downloads/${PV}/${PN}_v${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sci-libs/ccp4-libs"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${PN}
PATCHES=(
"${FILESDIR}"/${PV}-gentoo.patch
)
src_compile() {
emake \
CXX=$(tc-getCXX) \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" || \
die "compilation failed"
}
src_install() {
dobin ${PN} || die "installation of ${PN} failed"
}
|