genpy: use catkin class and unify recipe

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
This commit is contained in:
Stefan Herbrechtsmeier 2013-02-15 16:05:02 +01:00
parent 77e676ce7d
commit ed4f2db089
1 changed files with 5 additions and 19 deletions

View File

@ -3,24 +3,10 @@ SECTION = "devel"
LICENSE = "BSD" LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc494f5f793a6690ba5" LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/ros-gbp/genpy-release/archive/release/genpy/0.4.10.tar.gz;downloadfilename=genpy_0.4.10.tar.gz" DEPENDS = "genmsg"
SRC_URI[md5sum] = "694f2e0841c81a05874cf3f5801b16c1"
SRC_URI[sha256sum] = "00d585627d1f17090a99de3978dec2eef290bdadede397cf3588f7b2584ba975"
S = "${WORKDIR}/genpy-release-release-genpy-0.4.10" SRC_URI = "https://github.com/ros/${BPN}/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
SRC_URI[md5sum] = "23915e68167ba6d58c65920bfabd2fad"
DEPENDS = "catkin-native genmsg" SRC_URI[sha256sum] = "6c77bde606c9637b0fa9e6f4ed85882e98547500a7472d2643bcc52b6c8a8b78"
FILES_${PN} += "${libdir}/*"
inherit cmake pythonnative
EXTRA_OECMAKE = " \
-Dgenmsg_DIR=${STAGING_DATADIR}/genmsg/cmake/ \
"
export BUILD_SYS
export HOST_SYS
export STAGING_LIBDIR
export STAGING_INCDIR
inherit catkin