aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoao freitas <joaohf@gmail.com>2010-06-29 14:40:39 +0000
committerEric Bénard <eric@eukrea.com>2010-11-06 22:52:50 +0100
commitb02bd324cf955c0c98df1b65264fedc8162c15ae (patch)
tree904fb8ec8e44da7058585798ecc8da6ba3c8495b
parent4fd10b58cef25ec36be15e541fc89f4d0e977e8a (diff)
downloadopenembedded-b02bd324cf955c0c98df1b65264fedc8162c15ae.zip
openembedded-b02bd324cf955c0c98df1b65264fedc8162c15ae.tar.gz
openembedded-b02bd324cf955c0c98df1b65264fedc8162c15ae.tar.bz2
cgreen: new recipe
cgreen is a library to do unit test for C language EB: squashed 4 patches into one Author: joao freitas <joaohf@gmail.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
-rw-r--r--recipes/cgreen/cgreen.inc14
-rw-r--r--recipes/cgreen/cgreen_svn.bb15
2 files changed, 29 insertions, 0 deletions
diff --git a/recipes/cgreen/cgreen.inc b/recipes/cgreen/cgreen.inc
new file mode 100644
index 0000000..eb0e445
--- /dev/null
+++ b/recipes/cgreen/cgreen.inc
@@ -0,0 +1,14 @@
+DESCRIPTION = "Cgreen is a unit test framework for C language"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "flex-native"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+INC_PR = "r0"
+
+BBCLASSEXTEND = "native sdk"
+
+inherit cmake
+
diff --git a/recipes/cgreen/cgreen_svn.bb b/recipes/cgreen/cgreen_svn.bb
new file mode 100644
index 0000000..65f2f34
--- /dev/null
+++ b/recipes/cgreen/cgreen_svn.bb
@@ -0,0 +1,15 @@
+require cgreen.inc
+
+SRCREV = "334"
+PR = "${INC_PR}.0"
+
+S = "${WORKDIR}/cgreen"
+
+SRC_URI = "svn://cgreen.svn.sourceforge.net/svnroot/cgreen/trunk;module=cgreen;proto=https"
+
+EXTRA_OECONF = ""
+EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
+
+EXTRA_OECMAKE = ""
+
+OECMAKE_SOURCEPATH = "../cgreen"