roscpp-core: use include file and unify recipes

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
This commit is contained in:
Stefan Herbrechtsmeier 2013-02-15 16:01:23 +01:00
parent c0edb37b21
commit fd0c7c6221
7 changed files with 25 additions and 80 deletions

View File

@ -1,22 +0,0 @@
DESCRIPTION = "Low-level build system macros and infrastructure for ROS"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=13;endline=13;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/ros-gbp/roscpp_core-release/archive/release/cpp_common/0.3.11.tar.gz;downloadfilename=cpp-common_0.3.11.tar.gz"
SRC_URI[md5sum] = "7bf32963b9e2c82911bf089531c18482"
SRC_URI[sha256sum] = "86018219aa77f109d3340d332e7a041a9e047fd48d3d0e03bf2a4bd9baa66bde"
S = "${WORKDIR}/roscpp_core-release-release-cpp_common-0.3.11"
DEPENDS = "catkin-native"
ALLOW_EMPTY = "1"
EXTRA_OECMAKE = ""
inherit cmake pythonnative
FILES_${PN} += "${libdir}/*"
FILES_${PN}-dev += "${datadir}/*"

View File

@ -0,0 +1,8 @@
DESCRIPTION = "Low-level build system macros and infrastructure for ROS"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=13;endline=13;md5=d566ef916e9dedc494f5f793a6690ba5"
require roscpp-core.inc
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"

View File

@ -0,0 +1,7 @@
SRC_URI = "https://github.com/ros/roscpp_core/archive/${PV}.tar.gz;downloadfilename=rosscpp_core-${PV}.tar.gz"
SRC_URI[md5sum] = "ddbed4b9c97e406ecf104915eb31319c"
SRC_URI[sha256sum] = "662595304df7ba932906aa30774dfd4c3074cc4b7773620fc80de2d724769ef8"
S = "${WORKDIR}/roscpp_core-${PV}/${BPN}"
inherit catkin

View File

@ -3,21 +3,8 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/ros-gbp/roscpp_core-release/archive/release/roscpp_core/0.3.12.tar.gz;downloadfilename=roscpp-cppcore_0.3.12.tar.gz"
SRC_URI[md5sum] = "56cfd5b11cba6d28f742106a1eeafc92"
SRC_URI[sha256sum] = "b9ed9dadb21430deb87d56f4051da80238a36feea972ec0d3cecbfe91bb42d84"
DEPENDS = "cpp-common roscpp-serialization roscpp-traits rostime"
S = "${WORKDIR}/roscpp_core-release-release-roscpp_core-0.3.12"
ALLOW_EMPTY = "1"
DEPENDS = "\
cpp-common \
roscpp-serialization \
roscpp-traits \
rostime \
"
FILES_${PN} = ""
FILES_${PN}-dev = ""
require roscpp-core.inc
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"

View File

@ -3,23 +3,8 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/ros-gbp/roscpp_core-release/archive/release/roscpp_serialization/0.3.12.tar.gz;downloadfilename=roscpp-serialization_0.3.12.tar.gz"
SRC_URI[md5sum] = "38827d61eb88211d6be597d3be30ee58"
SRC_URI[sha256sum] = "27581440aabb75df787e850124daaec252fdca8f5b70f8a4996f82bb8eb65eb7"
DEPENDS = "cpp-common roscpp-traits rostime"
S = "${WORKDIR}/roscpp_core-release-release-roscpp_serialization-0.3.12"
require roscpp-core.inc
ALLOW_EMPTY = "1"
DEPENDS = "catkin-native \
cpp-common \
roscpp-traits \
rostime"
EXTRA_OECMAKE = " \
-Dcpp_common_DIR=${STAGING_DATADIR}/cpp_common/cmake/ \
-Droscpp_traits_DIR=${STAGING_DATADIR}/roscpp_traits/cmake/ \
-Drostime_DIR=${STAGING_DATADIR}/rostime/cmake/ \
"
inherit cmake pythonnative
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"

View File

@ -3,14 +3,6 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/ros-gbp/roscpp_core-release/archive/release/roscpp_traits/0.3.12.tar.gz;downloadfilename=roscpp-traits_0.3.12.tar.gz"
SRC_URI[md5sum] = "bf9d1ef41bb21a8ee1b2defa415cc0d8"
SRC_URI[sha256sum] = "f35cd1e29b50a2ffd89b36a9c919653ba2f6242c4b92618b544ded4f005ab912"
require roscpp-core.inc
S = "${WORKDIR}/roscpp_core-release-release-roscpp_traits-0.3.12"
ALLOW_EMPTY = "1"
DEPENDS = "catkin-native"
inherit cmake pythonnative
S = "${WORKDIR}/roscpp_core-${PV}/${ROS_BPN}"

View File

@ -3,18 +3,6 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/ros-gbp/roscpp_core-release/archive/release/rostime/0.3.12.tar.gz;downloadfilename=rostime_0.3.12.tar.gz"
SRC_URI[md5sum] = "ad80d12cf7dac87e7a5ef4573ced9db7"
SRC_URI[sha256sum] = "887a89406d9682dc49c4049b4fe0766b6613208fd9df95a0efa55579b93cc965"
DEPENDS = "boost cpp-common"
S = "${WORKDIR}/roscpp_core-release-release-rostime-0.3.12"
DEPENDS = "catkin-native boost cpp-common"
FILES_${PN} += "${libdir}/*"
inherit cmake pythonnative
EXTRA_OECMAKE = " \
-Dcpp_common_DIR=${STAGING_DATADIR}/cpp_common/cmake/ \
"
require roscpp-core.inc