From 7ea8324e38e5471ebe891ba13932a0e1b40ecc73 Mon Sep 17 00:00:00 2001 From: "Javier V. Gomez" Date: Wed, 13 Jan 2016 14:36:40 +0100 Subject: [PATCH] fcl: initial commit of version 0.3.2 --- recipes-extended/fcl/fcl/LICENSE | 32 +++++++++++++++++++++++++++++++ recipes-extended/fcl/fcl_0.3.2.bb | 25 ++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 recipes-extended/fcl/fcl/LICENSE create mode 100644 recipes-extended/fcl/fcl_0.3.2.bb diff --git a/recipes-extended/fcl/fcl/LICENSE b/recipes-extended/fcl/fcl/LICENSE new file mode 100644 index 0000000..529a238 --- /dev/null +++ b/recipes-extended/fcl/fcl/LICENSE @@ -0,0 +1,32 @@ +Software License Agreement (BSD License) + + Copyright (c) 2008-2014, Willow Garage, Inc. + Copyright (c) 2014-2015, Open Source Robotics Foundation + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Open Source Robotics Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/recipes-extended/fcl/fcl_0.3.2.bb b/recipes-extended/fcl/fcl_0.3.2.bb new file mode 100644 index 0000000..61c9a8e --- /dev/null +++ b/recipes-extended/fcl/fcl_0.3.2.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "FCL is a library for performing three types of proximity queries on a pair of geometric models composed of triangles and octrees." +HOMEPAGE = "https://github.com/flexible-collision-library/fcl" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5823baab4b8de52197d0fb775e8fd4b7" + +# Octomap dependency not included as it is optional. +DEPENDS = "boost libccd" + +SRC_URI = "https://github.com/flexible-collision-library/fcl/archive/${PV}.tar.gz" +SRC_URI[md5sum] = "b12246df3f4e1d0768ce1e46a52900ff" +SRC_URI[sha256sum] = "cf914f85b32cf8b63879907726df64e50da33f00d538759d789fe10fc5fbc95b" + +S = "${WORKDIR}/fcl-${PV}" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://LICENSE;subdir=fcl-${PV}" + +EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release" +FILES_${PN} += "${libdir}/libfcl.so" + +# Need to override this, otherwise libfcl.so is included in dev packageW. +FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig" + +inherit pkgconfig cmake