diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-12-31 13:00:33 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-12-31 13:01:44 +0100 |
commit | 58a5d17ed65050caf4a1f8006a72578ef17a5eac (patch) | |
tree | 70867d05fd80ec68cb02c03bbb30bdcdb409db21 /sci-libs | |
parent | net-misc/curl: Stable for HPPA PPC64 (bug #603574). (diff) | |
download | gentoo-58a5d17ed65050caf4a1f8006a72578ef17a5eac.tar.gz gentoo-58a5d17ed65050caf4a1f8006a72578ef17a5eac.tar.bz2 gentoo-58a5d17ed65050caf4a1f8006a72578ef17a5eac.zip |
sci-libs/orocos_kdl: bump to 1.3.1, bug #604130
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/orocos_kdl/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest index 1e0cce1ad6f7..a695dc0384dd 100644 --- a/sci-libs/orocos_kdl/Manifest +++ b/sci-libs/orocos_kdl/Manifest @@ -1 +1,2 @@ DIST orocos_kinematics_dynamics-1.3.0.tar.gz 200229 SHA256 7be2dd5e4f4c1ceac2cdf1f4fae3d94d4ffd9fc1af8d483c05f04e80ef84b3f9 SHA512 09ff63f74f1eac3ee8b1090364e0d95b4ae96c9d4435ca34adacb3ded7385f948ddca9be2c1c2c2214c9342b17bbffb7da89ba9b7cd402e7fd4f2c6dbd06a930 WHIRLPOOL 4085fa4aba77e0c24a3c1aab4ab5f98e8b349037525e6a596ff027075ea1dcd33c4f13fa3abd61bbe6a2a3bd13b62616d7b614c030ecda8343be3ed59406bae6 +DIST orocos_kinematics_dynamics-1.3.1.tar.gz 202471 SHA256 aff361d2b4e2c6d30ae959308a124022eeef5dc5bea2ce779900f9b36b0537bd SHA512 93abd9dd5aef3710f784f9db8eea4738458bffa5295923993e2d77656c18f7354559412fb7eb5f1e9da7112de19aa36d3f0f68f149852f955bce960fd3b719e7 WHIRLPOOL b7b4d897f4d5f170b73fe5bb48e357051ae37a244b9c44e8c2f120d71fc75c80cc1f69d30cb1463bbe10658ba0af98965f18f3055436910f24ebaab0ce1bd8e7 diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild new file mode 100644 index 000000000000..fac689144b57 --- /dev/null +++ b/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics" +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" +fi + +DESCRIPTION="Kinematics and Dynamics Library (KDL)" +HOMEPAGE="http://www.orocos.org/kdl" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc test examples models" + +RDEPEND="dev-cpp/eigen:3" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit ) + doc? ( app-doc/doxygen )" +REQUIRED_USE="examples? ( models )" + +DOCS=( README ) +PATCHES=( "${FILESDIR}/gentoo.patch" ) + +if [ "${PV#9999}" != "${PV}" ] ; then + S=${WORKDIR}/${P}/orocos_kdl +else + S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl +fi + +src_configure() { + local mycmakeargs=( + "$(cmake-utils_use_enable test TESTS)" + "$(cmake-utils_use_enable examples EXAMPLES)" + "-DBUILD_MODELS=$(usex models ON OFF)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + cd "${BUILD_DIR}" + use doc && emake docs +} + +src_test() { + cd "${BUILD_DIR}" + emake check +} + +src_install() { + cmake-utils_src_install + cd "${BUILD_DIR}" + use doc && dohtml -r doc/api/html/* + use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} +} |