aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-14 14:33:22 +0300
committerGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-14 14:33:22 +0300
commit6c6e16ec788324ae41f2ca48a9d39a6a54877d8e (patch)
treee2f62721a69241aa39f2f3c867866f756dcea3ff
parentf712721906fd39a9a63d73d7a22a34d72fba9795 (diff)
Add ctemplate recipe
-rw-r--r--meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate.inc12
-rw-r--r--meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_2.3.bb9
-rw-r--r--meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_svn.bb11
3 files changed, 32 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate.inc b/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate.inc
new file mode 100644
index 0000000..3caba6b
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate.inc
@@ -0,0 +1,12 @@
+SUMMARY = "CTemplate is a simple but powerful template language for C++. It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language."
+HOMEPAGE = "https://code.google.com/p/ctemplate/"
+LICENSE = "GOOGLE-NEW-BSD"
+SECTION = "libs"
+
+inherit autotools pkgconfig
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a"
+
+BBCLASSEXTEND = "native nativesdk"
+
+
diff --git a/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_2.3.bb b/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_2.3.bb
new file mode 100644
index 0000000..8383c12
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_2.3.bb
@@ -0,0 +1,9 @@
+require ctemplate.inc
+
+SRC_URI = "svn://ctemplate.googlecode.com/svn/;module=tags/ctemplate-2.3;protocol=http"
+SRC_URI[md5sum] = ""
+SRC_URI[sha256sum] = ""
+SRCREV = "r141"
+S = "${WORKDIR}/tags/ctemplate-2.3"
+B = "${WORKDIR}/tags/ctemplate-2.3"
+
diff --git a/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_svn.bb b/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_svn.bb
new file mode 100644
index 0000000..c51ed40
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/ctemplate/ctemplate_svn.bb
@@ -0,0 +1,11 @@
+require ctemplate.inc
+
+SRC_URI = "svn://ctemplate.googlecode.com/svn/;module=trunk;protocol=http"
+SRC_URI[md5sum] = ""
+SRC_URI[sha256sum] = ""
+SRCREV = "${AUTOREV}"
+S = "${WORKDIR}/trunk"
+
+PV = "2.3+svnr${SRCREV}"
+
+DEFAULT_PREFERENCE = "-1"