You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-chemistry/probe/probe-2.11.050121.ebuild

41 lines
871 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/probe/probe-2.11.050121.ebuild,v 1.4 2011/06/26 08:48:58 jlec Exp $
inherit toolchain-funcs
MY_P="${PN}.${PV}"
DESCRIPTION="Evaluates atomic packing within or between molecules"
HOMEPAGE="http://kinemage.biochem.duke.edu/software/probe.php"
SRC_URI="http://kinemage.biochem.duke.edu/ftpsite/pub/software/probe/${MY_P}.src.tgz"
LICENSE="richardson"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
# Respect CC
sed -i \
-e 's:cc:$(CC):g' \
"${S}"/Makefile || die
}
src_compile() {
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
MACHINEFLAGS="${LDFLAGS}" \
|| die "make failed"
}
src_install() {
dobin "${S}"/probe || die
dodoc "${S}"/README* || die
}