summaryrefslogtreecommitdiff
blob: 7aaa18bba00466fe5db0b0d92f957504df45abd0 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="3"

inherit eutils toolchain-funcs

DESCRIPTION="3V: Voss Volume Voxelator"
HOMEPAGE="http://geometry.molmovdb.org/3v/"
SRC_URI="http://geometry.molmovdb.org/3v/3v-${PV}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""

PDEPEND="sci-chemistry/msms-bin"
#	sci-chemistry/usf-rave"

S="${WORKDIR}/3v-${PV}/src"

src_prepare() {
	epatch "${FILESDIR}"/${PV}-gentoo.patch
	tc-export CXX
	emake distclean || die
}

src_install() {
	emake DESTDIR="${ED}" install || die

	cd ..
	dodoc AUTHORS ChangeLog QUICKSTART README TODO VERSION || die
}