38 lines
861 B
Bash
38 lines
861 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/cluster/cluster-1.3.081231.ebuild,v 1.1 2010/07/18 08:27:49 jlec Exp $
|
|
|
|
EAPI="3"
|
|
|
|
inherit eutils toolchain-funcs
|
|
|
|
DESCRIPTION="Build lists of collections of interacting items"
|
|
HOMEPAGE="http://kinemage.biochem.duke.edu/software/index.php"
|
|
SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${PN}.${PV}.src.tgz"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
LICENSE="richardson"
|
|
IUSE=""
|
|
|
|
RDEPEND=""
|
|
DEPEND="${RDEPEND}"
|
|
|
|
S="${WORKDIR}"/${PN}1.3src
|
|
|
|
src_prepare() {
|
|
epatch \
|
|
"${FILESDIR}"/${PV}-ldflags.patch \
|
|
"${FILESDIR}"/${PV}-includes.patch
|
|
}
|
|
|
|
src_compile() {
|
|
emake \
|
|
CXX="$(tc-getCXX)" \
|
|
|| die
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN} || die
|
|
dodoc README.cluster || die
|
|
}
|