From e848a50ae788983cc756d2df37436723c86cf162 Mon Sep 17 00:00:00 2001
From: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Date: Fri, 15 Feb 2013 16:04:37 +0100
Subject: [PATCH] genlisp: use catkin class and unify recipe

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
---
 recipes-ros/genlisp/genlisp_0.4.10.bb | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/recipes-ros/genlisp/genlisp_0.4.10.bb b/recipes-ros/genlisp/genlisp_0.4.10.bb
index 62b700d..cf39779 100644
--- a/recipes-ros/genlisp/genlisp_0.4.10.bb
+++ b/recipes-ros/genlisp/genlisp_0.4.10.bb
@@ -3,24 +3,10 @@ SECTION = "devel"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"
 
-SRC_URI = "https://github.com/ros-gbp/genlisp-release/archive/release/genlisp/0.4.10.tar.gz;downloadfilename=genlisp_0.4.10.tar.gz"
-SRC_URI[md5sum] = "ce2d424a6e0496248dc2dd0c1c383f12"
-SRC_URI[sha256sum] = "d9be2ac2c64f05745ca7716bfea0e3e5857554f4caf769c8550e3502d5fc257d"
+DEPENDS = "genmsg"
 
-S = "${WORKDIR}/genlisp-release-release-genlisp-0.4.10"
-
-DEPENDS = "catkin-native genmsg"
-
-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
+SRC_URI = "https://github.com/ros/${BPN}/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
+SRC_URI[md5sum] = "ae3026fd36a31d286f79a9111450adfa"
+SRC_URI[sha256sum] = "13f606f23eec18c0f653a259d972d9bdb13251111e4af280830a961a4858c475"
 
+inherit catkin
-- 
GitLab