From e5eb122f8a0770c92ce3d8f7f9f1c5c18471b570 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Mon, 16 Jan 2017 17:14:36 -0500 Subject: dev-games/ode: revbump to change SLOT="0/6" for slot-operator rebuilds Package-Manager: portage-2.3.0 --- dev-games/ode/ode-0.14-r1.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++ dev-games/ode/ode-0.14.ebuild | 76 ---------------------------------------- 2 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 dev-games/ode/ode-0.14-r1.ebuild delete mode 100644 dev-games/ode/ode-0.14.ebuild (limited to 'dev-games') diff --git a/dev-games/ode/ode-0.14-r1.ebuild b/dev-games/ode/ode-0.14-r1.ebuild new file mode 100644 index 000000000000..8255bcefe810 --- /dev/null +++ b/dev-games/ode/ode-0.14-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Open Dynamics Engine SDK" +HOMEPAGE="http://ode.org/" +SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz" + +LICENSE="|| ( LGPL-2.1+ BSD )" +SLOT="0/6" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="debug doc double-precision examples gyroscopic static-libs" + +RDEPEND="examples? ( + virtual/glu + virtual/opengl )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples + +src_prepare() { + sed -i \ + -e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \ + drawstuff/src/Makefile.am \ + ode/demo/Makefile.am || die + eautoreconf +} + +src_configure() { + # use bash (bug #335760) + CONFIG_SHELL=/bin/bash \ + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable debug asserts) \ + $(use_enable double-precision) \ + $(use_enable examples demos) \ + $(use_enable gyroscopic) \ + $(use_with examples drawstuff X11) +} + +src_compile() { + emake + if use doc ; then + cd ode/doc + doxygen Doxyfile || die + fi +} + +src_install() { + DOCS="CHANGELOG.txt README.md" \ + default + prune_libtool_files + if use doc ; then + dohtml docs/* + fi + if use examples; then + docompress -x "${MY_EXAMPLES_DIR}" + insinto "${MY_EXAMPLES_DIR}" + exeinto "${MY_EXAMPLES_DIR}" + doexe drawstuff/dstest/dstest + doins ode/demo/*.{c,cpp,h} \ + drawstuff/textures/*.ppm \ + drawstuff/dstest/dstest.cpp \ + drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp} + cd ode/demo + local f + for f in *.c* ; do + doexe .libs/${f%.*} + done + fi +} diff --git a/dev-games/ode/ode-0.14.ebuild b/dev-games/ode/ode-0.14.ebuild deleted file mode 100644 index 48021bb5163f..000000000000 --- a/dev-games/ode/ode-0.14.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit autotools eutils - -DESCRIPTION="Open Dynamics Engine SDK" -HOMEPAGE="http://ode.org/" -SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz" - -LICENSE="|| ( LGPL-2.1+ BSD )" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="debug doc double-precision examples gyroscopic static-libs" - -RDEPEND="examples? ( - virtual/glu - virtual/opengl )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples - -src_prepare() { - sed -i \ - -e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \ - drawstuff/src/Makefile.am \ - ode/demo/Makefile.am || die - eautoreconf -} - -src_configure() { - # use bash (bug #335760) - CONFIG_SHELL=/bin/bash \ - econf \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable debug asserts) \ - $(use_enable double-precision) \ - $(use_enable examples demos) \ - $(use_enable gyroscopic) \ - $(use_with examples drawstuff X11) -} - -src_compile() { - emake - if use doc ; then - cd ode/doc - doxygen Doxyfile || die - fi -} - -src_install() { - DOCS="CHANGELOG.txt README.md" \ - default - prune_libtool_files - if use doc ; then - dohtml docs/* - fi - if use examples; then - docompress -x "${MY_EXAMPLES_DIR}" - insinto "${MY_EXAMPLES_DIR}" - exeinto "${MY_EXAMPLES_DIR}" - doexe drawstuff/dstest/dstest - doins ode/demo/*.{c,cpp,h} \ - drawstuff/textures/*.ppm \ - drawstuff/dstest/dstest.cpp \ - drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp} - cd ode/demo - local f - for f in *.c* ; do - doexe .libs/${f%.*} - done - fi -} -- cgit v1.2.3-65-gdbad