Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/orocos_kdl: metadata.xml ChangeLog orocos_kdl-9999.ebuild orocos_kdl-1.3.0.ebuild
Date: Thu, 30 Oct 2014 18:19:20
Message-Id: 20141030181915.8A33A915F@oystercatcher.gentoo.org
1 aballier 14/10/30 18:19:15
2
3 Added: metadata.xml ChangeLog orocos_kdl-9999.ebuild
4 orocos_kdl-1.3.0.ebuild
5 Log:
6 initial import, ebuild by me
7
8 Signed-off-by: aballier@g.o
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.1 sci-libs/orocos_kdl/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/metadata.xml?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/metadata.xml?rev=1.1&content-type=text/plain
16
17 Index: metadata.xml
18 ===================================================================
19 <?xml version="1.0" encoding="UTF-8"?>
20 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
21 <pkgmetadata>
22 <maintainer>
23 <email>aballier@g.o</email>
24 <name>Alexis Ballier</name>
25 </maintainer>
26 <longdescription lang="en">
27 The Kinematics and Dynamics Library (KDL) develops an application
28 independent framework for modelling and computation of kinematic chains,
29 such as robots, biomechanical human models, computer-animated figures,
30 machine tools, etc. It provides class libraries for geometrical objects
31 (point, frame, line,... ), kinematic chains of various families (serial,
32 humanoid, parallel, mobile,... ), and their motion specification and
33 interpolation.
34 </longdescription>
35 <use>
36 <flag name="models">Build models for some well known robots.</flag>
37 </use>
38 </pkgmetadata>
39
40
41
42 1.1 sci-libs/orocos_kdl/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/ChangeLog?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/ChangeLog?rev=1.1&content-type=text/plain
46
47 Index: ChangeLog
48 ===================================================================
49 # ChangeLog for sci-libs/orocos_kdl
50 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-libs/orocos_kdl/ChangeLog,v 1.1 2014/10/30 18:19:15 aballier Exp $
52
53 *orocos_kdl-9999 (30 Oct 2014)
54 *orocos_kdl-1.3.0 (30 Oct 2014)
55
56 30 Oct 2014; Alexis Ballier <aballier@g.o> +orocos_kdl-1.3.0.ebuild,
57 +orocos_kdl-9999.ebuild, +metadata.xml:
58 initial import, ebuild by me
59
60
61
62
63 1.1 sci-libs/orocos_kdl/orocos_kdl-9999.ebuild
64
65 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild?rev=1.1&view=markup
66 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild?rev=1.1&content-type=text/plain
67
68 Index: orocos_kdl-9999.ebuild
69 ===================================================================
70 # Copyright 1999-2014 Gentoo Foundation
71 # Distributed under the terms of the GNU General Public License v2
72 # $Header: /var/cvsroot/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild,v 1.1 2014/10/30 18:19:15 aballier Exp $
73
74 EAPI=5
75
76 SCM=""
77 if [ "${PV#9999}" != "${PV}" ] ; then
78 SCM="git-r3"
79 EGIT_REPO_URI="http://github.com/orocos/orocos_kinematics_dynamics"
80 fi
81
82 inherit ${SCM} cmake-utils
83
84 if [ "${PV#9999}" != "${PV}" ] ; then
85 KEYWORDS=""
86 SRC_URI=""
87 else
88 KEYWORDS="~amd64"
89 SRC_URI="http://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz"
90 fi
91
92 DESCRIPTION="Kinematics and Dynamics Library (KDL)"
93 HOMEPAGE="http://www.orocos.org/kdl"
94 LICENSE="LGPL-2.1"
95 SLOT="0"
96 IUSE="doc test examples models"
97
98 RDEPEND="dev-cpp/eigen:3"
99 DEPEND="${RDEPEND}
100 test? ( dev-util/cppunit )
101 doc? ( app-doc/doxygen )"
102 REQUIRED_USE="examples? ( models )"
103
104 DOCS=( README )
105
106 if [ "${PV#9999}" != "${PV}" ] ; then
107 S=${WORKDIR}/${P}/orocos_kdl
108 else
109 S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl
110 fi
111
112 src_configure() {
113 local mycmakeargs=(
114 "$(cmake-utils_use_enable test TESTS)"
115 "$(cmake-utils_use_enable examples EXAMPLES)"
116 "-DBUILD_MODELS=$(usex models ON OFF)"
117 )
118 cmake-utils_src_configure
119 }
120
121 src_compile() {
122 cmake-utils_src_compile
123 cd "${BUILD_DIR}"
124 use doc && emake docs
125 }
126
127 src_test() {
128 cd "${BUILD_DIR}"
129 emake check
130 }
131
132 src_install() {
133 cmake-utils_src_install
134 cd "${BUILD_DIR}"
135 use doc && dohtml -r doc/api/html/*
136 use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo}
137 }
138
139
140
141 1.1 sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild
142
143 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild?rev=1.1&view=markup
144 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
145
146 Index: orocos_kdl-1.3.0.ebuild
147 ===================================================================
148 # Copyright 1999-2014 Gentoo Foundation
149 # Distributed under the terms of the GNU General Public License v2
150 # $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 $
151
152 EAPI=5
153
154 SCM=""
155 if [ "${PV#9999}" != "${PV}" ] ; then
156 SCM="git-r3"
157 EGIT_REPO_URI="http://github.com/orocos/orocos_kinematics_dynamics"
158 fi
159
160 inherit ${SCM} cmake-utils
161
162 if [ "${PV#9999}" != "${PV}" ] ; then
163 KEYWORDS=""
164 SRC_URI=""
165 else
166 KEYWORDS="~amd64"
167 SRC_URI="http://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz"
168 fi
169
170 DESCRIPTION="Kinematics and Dynamics Library (KDL)"
171 HOMEPAGE="http://www.orocos.org/kdl"
172 LICENSE="LGPL-2.1"
173 SLOT="0"
174 IUSE="doc test examples models"
175
176 RDEPEND="dev-cpp/eigen:3"
177 DEPEND="${RDEPEND}
178 test? ( dev-util/cppunit )
179 doc? ( app-doc/doxygen )"
180 REQUIRED_USE="examples? ( models )"
181
182 DOCS=( README )
183
184 if [ "${PV#9999}" != "${PV}" ] ; then
185 S=${WORKDIR}/${P}/orocos_kdl
186 else
187 S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl
188 fi
189
190 src_configure() {
191 local mycmakeargs=(
192 "$(cmake-utils_use_enable test TESTS)"
193 "$(cmake-utils_use_enable examples EXAMPLES)"
194 "-DBUILD_MODELS=$(usex models ON OFF)"
195 )
196 cmake-utils_src_configure
197 }
198
199 src_compile() {
200 cmake-utils_src_compile
201 cd "${BUILD_DIR}"
202 use doc && emake docs
203 }
204
205 src_test() {
206 cd "${BUILD_DIR}"
207 emake check
208 }
209
210 src_install() {
211 cmake-utils_src_install
212 cd "${BUILD_DIR}"
213 use doc && dohtml -r doc/api/html/*
214 use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo}
215 }