diff mbox

[1/2] cmake: add new recipe

Message ID cf13024f97f12ea307261a9e793f7c895cc5f29e.1373221481.git.jacob@barsoekjaergaard.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Jacob Kjaergaard July 7, 2013, 6:38 p.m. UTC
From: Jacob Kjaergaard <jacob@barsoekjaergaard.dk>

---
 recipes/cmake/cmake.inc             |   19 +++++++++++++++++++
 recipes/cmake/cmake_2.8.11.1.oe     |    1 +
 recipes/cmake/cmake_2.8.11.1.oe.sig |    1 +
 3 files changed, 21 insertions(+)
 create mode 100644 recipes/cmake/cmake.inc
 create mode 100644 recipes/cmake/cmake_2.8.11.1.oe
 create mode 100644 recipes/cmake/cmake_2.8.11.1.oe.sig

Comments

Esben Haabendal Aug. 7, 2013, 7:29 a.m. UTC | #1
jabk@prevas.dk writes:

> From: Jacob Kjaergaard <jacob@barsoekjaergaard.dk>
>
> ---
>  recipes/cmake/cmake.inc             |   19 +++++++++++++++++++
>  recipes/cmake/cmake_2.8.11.1.oe     |    1 +
>  recipes/cmake/cmake_2.8.11.1.oe.sig |    1 +
>  3 files changed, 21 insertions(+)
>  create mode 100644 recipes/cmake/cmake.inc
>  create mode 100644 recipes/cmake/cmake_2.8.11.1.oe
>  create mode 100644 recipes/cmake/cmake_2.8.11.1.oe.sig
>
> diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
> new file mode 100644
> index 0000000..3f25850
> --- /dev/null
> +++ b/recipes/cmake/cmake.inc
> @@ -0,0 +1,19 @@
> +RECIPE_TYPES = "native"
> +
> +inherit c make

Isn't c++ required to build cmake?

> +SRC_URI = "http://www.cmake.org/files/v2.8/cmake-${PV}.tar.gz"
> +
> +do_configure() {
> +	       cd ${S}
> +	       ./configure --prefix=/ --no-system-libs --parallel=9
> +}
> +
> +FILES_${PN}-doc += "\
> +		${docdir}/* \
> +		${mandir}/* \
> +		/doc/* \
> +		/man/* \
> +		"
> +FILES_${PN}-dbg += "${bindir}/.debug/*"
> +
> +FILES_${PN} += "${bindir}/* ${datadir}"
> \ No newline at end of file
> diff --git a/recipes/cmake/cmake_2.8.11.1.oe b/recipes/cmake/cmake_2.8.11.1.oe
> new file mode 100644
> index 0000000..68f03c1
> --- /dev/null
> +++ b/recipes/cmake/cmake_2.8.11.1.oe
> @@ -0,0 +1 @@
> +require cmake.inc
> diff --git a/recipes/cmake/cmake_2.8.11.1.oe.sig b/recipes/cmake/cmake_2.8.11.1.oe.sig
> new file mode 100644
> index 0000000..9b15d81
> --- /dev/null
> +++ b/recipes/cmake/cmake_2.8.11.1.oe.sig
> @@ -0,0 +1 @@
> +0ee6702155dcef6aa3e123394378ec66ea700a14  cmake-2.8.11.1.tar.gz
Esben Haabendal Aug. 8, 2013, 8:34 p.m. UTC | #2
I changed slightly and pushed it to master.

/Esben
diff mbox

Patch

diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
new file mode 100644
index 0000000..3f25850
--- /dev/null
+++ b/recipes/cmake/cmake.inc
@@ -0,0 +1,19 @@ 
+RECIPE_TYPES = "native"
+
+inherit c make
+SRC_URI = "http://www.cmake.org/files/v2.8/cmake-${PV}.tar.gz"
+
+do_configure() {
+	       cd ${S}
+	       ./configure --prefix=/ --no-system-libs --parallel=9
+}
+
+FILES_${PN}-doc += "\
+		${docdir}/* \
+		${mandir}/* \
+		/doc/* \
+		/man/* \
+		"
+FILES_${PN}-dbg += "${bindir}/.debug/*"
+
+FILES_${PN} += "${bindir}/* ${datadir}"
\ No newline at end of file
diff --git a/recipes/cmake/cmake_2.8.11.1.oe b/recipes/cmake/cmake_2.8.11.1.oe
new file mode 100644
index 0000000..68f03c1
--- /dev/null
+++ b/recipes/cmake/cmake_2.8.11.1.oe
@@ -0,0 +1 @@ 
+require cmake.inc
diff --git a/recipes/cmake/cmake_2.8.11.1.oe.sig b/recipes/cmake/cmake_2.8.11.1.oe.sig
new file mode 100644
index 0000000..9b15d81
--- /dev/null
+++ b/recipes/cmake/cmake_2.8.11.1.oe.sig
@@ -0,0 +1 @@ 
+0ee6702155dcef6aa3e123394378ec66ea700a14  cmake-2.8.11.1.tar.gz