commit: e2d6458389fd803809951ef9ded05cbc3bbc4b35 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> AuthorDate: Wed Apr 13 21:12:42 2016 +0000 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> CommitDate: Wed Apr 13 21:13:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d64583
dev-games/newton: version bump Package-Manager: portage-2.2.26 dev-games/newton/Manifest | 1 + dev-games/newton/newton-3.13.ebuild | 39 +++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-games/newton/Manifest b/dev-games/newton/Manifest index e01c52f..81501b6 100644 --- a/dev-games/newton/Manifest +++ b/dev-games/newton/Manifest @@ -1 +1,2 @@ +DIST newton-3.13.zip 61059070 SHA256 333da6211fc9928e077d1624a8dfb03ffe35cbe50ad58c17c46252e1201f81da SHA512 767078222569fa6f3b0564fc5882eaa439b76b636101128f19db5047547b91e4a8be45ba8fadc426345db7784a17a7d1c22dce7e87533cba36fd70d145881f32 WHIRLPOOL 63c2a412e23543daf43f646788dfa9ee1e77a3a9b2ff19d9011055a858f77c090e9df75d0e51e246444d37a5e68315508a1c404b49b474469ec7954f8caffa91 DIST newton-dynamics-2.36.rar 65378909 SHA256 d88dd127e23ff6a5cb44021937b319ab42533f4129ee7c35a77e5e6165c0f888 SHA512 aef8ef121ebbad525b3eeb5dc4da511cd357f52388d5cbf6b9709cbad497ae91f93518dc7eccc914ecf2220428ef5935b4b3fc1500804dd016443ea0fad1c058 WHIRLPOOL 1ae7aa9ec7eb88fd74bb5f54c053871dd58da4cb0e2b8578409be302c85602a1c4950b3a752ede6be0976f1d6077f55a8d8cac5bccd96ea7371af1ea97adfed0 diff --git a/dev-games/newton/newton-3.13.ebuild b/dev-games/newton/newton-3.13.ebuild new file mode 100644 index 0000000..8f27c72 --- /dev/null +++ b/dev-games/newton/newton-3.13.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs cmake-utils unpacker + +MY_P="${PN}-dynamics-${P}" +DESCRIPTION="an integrated solution for real time simulation of physics environments" +HOMEPAGE="http://newtondynamics.com/forum/newton.php" +SRC_URI="https://github.com/MADEAPPS/newton-dynamics/archive/${P}.zip" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="$(unpacker_src_uri_depends)" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e '/packages/d' CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX=/usr/ + -DNEWTON_DEMOS_SANDBOX=OFF + -DCMAKE_VERBOSE_MAKEFILE=ON + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_install +}