34 lines
797 B
Bash
34 lines
797 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/threeV/threeV-1.2.ebuild,v 1.2 2010/10/30 14:59:43 jlec Exp $
|
|
|
|
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
|
|
}
|