diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-08 18:34:48 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-08 18:34:48 +0000 |
commit | 7be8f7de99e42be972555f8f211f7250d7ae3a56 (patch) | |
tree | c561c2d656916fe0f97cf3d152ab452c9f9f0adb /dev-games/newton/newton-2.00.ebuild | |
parent | Fix line changes inside variable (diff) | |
download | gentoo-2-7be8f7de99e42be972555f8f211f7250d7ae3a56.tar.gz gentoo-2-7be8f7de99e42be972555f8f211f7250d7ae3a56.tar.bz2 gentoo-2-7be8f7de99e42be972555f8f211f7250d7ae3a56.zip |
version bump - ebuild submitted by Christoph Brill (egore) via bug #270142
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'dev-games/newton/newton-2.00.ebuild')
-rw-r--r-- | dev-games/newton/newton-2.00.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-games/newton/newton-2.00.ebuild b/dev-games/newton/newton-2.00.ebuild new file mode 100644 index 000000000000..929796a63577 --- /dev/null +++ b/dev-games/newton/newton-2.00.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/newton/newton-2.00.ebuild,v 1.1 2010/04/08 18:34:48 mr_bones_ Exp $ + +inherit eutils multilib + +DESCRIPTION="an integrated solution for real time simulation of physics environments" +HOMEPAGE="http://www.physicsengine.com/" +SRC_URI="amd64? ( + http://www.newtondynamics.com/downloads/${PN}Linux-64-${PV}.tar.gz + ) + x86? ( + http://www.newtondynamics.com/downloads/${PN}Linux-32-${PV}.tar.gz + )" + +LICENSE="newton" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +QA_TEXTRELS="usr/$(get_libdir)/libNewton.so.2.0.0" + +DEPEND="doc? ( + virtual/opengl + virtual/glu + virtual/glut + )" + +S=${WORKDIR}/newtonSDK + +src_install() { + dolib.a sdk/libNewton.a || die "dolib.a failed" + mv sdk/libNewton.so sdk/libNewton.so.2.0.0 || die + dolib sdk/libNewton.so.2.0.0 || die + dosym libNewton.so.2.0.0 /usr/$(get_libdir)/libNewton.so.2 + dosym libNewton.so.2.0.0 /usr/$(get_libdir)/libNewton.so + insinto /usr/include + doins sdk/Newton.h || die "doins failed" + + dodoc doc/* +} |