aballier    14/10/30 18:19:15

  Added:                metadata.xml ChangeLog orocos_kdl-9999.ebuild
                        orocos_kdl-1.3.0.ebuild
  Log:
  initial import, ebuild by me
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.1                  sci-libs/orocos_kdl/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
<maintainer>
<email>[email protected]</email>
<name>Alexis Ballier</name>
</maintainer>
<longdescription lang="en">
         The Kinematics and Dynamics Library (KDL) develops an application
         independent framework for modelling and computation of kinematic 
chains,
         such as robots, biomechanical human models, computer-animated figures,
         machine tools, etc. It provides class libraries for geometrical objects
         (point, frame, line,... ), kinematic chains of various families 
(serial,
         humanoid, parallel, mobile,... ), and their motion specification and
         interpolation.
</longdescription>
  <use>
    <flag name="models">Build models for some well known robots.</flag>
  </use>
</pkgmetadata>



1.1                  sci-libs/orocos_kdl/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sci-libs/orocos_kdl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/orocos_kdl/ChangeLog,v 1.1 
2014/10/30 18:19:15 aballier Exp $

*orocos_kdl-9999 (30 Oct 2014)
*orocos_kdl-1.3.0 (30 Oct 2014)

  30 Oct 2014; Alexis Ballier <[email protected]> +orocos_kdl-1.3.0.ebuild,
  +orocos_kdl-9999.ebuild, +metadata.xml:
  initial import, ebuild by me




1.1                  sci-libs/orocos_kdl/orocos_kdl-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild?rev=1.1&content-type=text/plain

Index: orocos_kdl-9999.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild,v 
1.1 2014/10/30 18:19:15 aballier Exp $

EAPI=5

SCM=""
if [ "${PV#9999}" != "${PV}" ] ; then
        SCM="git-r3"
        EGIT_REPO_URI="http://github.com/orocos/orocos_kinematics_dynamics";
fi

inherit ${SCM} cmake-utils

if [ "${PV#9999}" != "${PV}" ] ; then
        KEYWORDS=""
        SRC_URI=""
else
        KEYWORDS="~amd64"
        
SRC_URI="http://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 )

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}
}



1.1                  sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild?rev=1.1&content-type=text/plain

Index: orocos_kdl-1.3.0.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild,v 1.1 
2014/10/30 18:19:15 aballier Exp $

EAPI=5

SCM=""
if [ "${PV#9999}" != "${PV}" ] ; then
        SCM="git-r3"
        EGIT_REPO_URI="http://github.com/orocos/orocos_kinematics_dynamics";
fi

inherit ${SCM} cmake-utils

if [ "${PV#9999}" != "${PV}" ] ; then
        KEYWORDS=""
        SRC_URI=""
else
        KEYWORDS="~amd64"
        
SRC_URI="http://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 )

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}
}




Reply via email to