# Copyright 1999-2006 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.2 2006/07/09 07:10:24 dberkholz Exp $ inherit toolchain-funcs MY_P="${PN}.${PV}" DESCRIPTION="Mage is a 3D vector display program which shows 'kinemage' graphics" HOMEPAGE="http://kinemage.biochem.duke.edu/software/mage.php" SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/mage/${MY_P}.src.tgz" LICENSE="richardson" SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" RDEPEND="sci-chemistry/prekin" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" src_compile() { emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ dynamic \ || die "make failed" } src_install() { dobin ${S}/mage || die "dobin failed" }