summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake-native_3.7.2.bb
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2017-02-14 09:40:07 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-23 12:49:50 -0800
commitb8cb30b13f177714bbdd4e6eaa61a5db9464502e (patch)
treea33353ee042672eb29204e4088d8f07d3cce2694 /meta/recipes-devtools/cmake/cmake-native_3.7.2.bb
parent60bfaaa46080795bfd7250a8b8047311570be8ac (diff)
downloadpoky-b8cb30b13f177714bbdd4e6eaa61a5db9464502e.tar.gz
cmake: Update to 3.7.2.
Tested by building gnuradio stack. (From OE-Core rev: d3e5a6d38870ecede87812cb81c0b5630bd3b3ff) (From OE-Core rev: 66122e4f19e880f5e48130b318f98452b992cad4) Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake-native_3.7.2.bb')
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_3.7.2.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.7.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.7.2.bb
new file mode 100644
index 0000000000..7ad4345efe
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake-native_3.7.2.bb
@@ -0,0 +1,37 @@
1require cmake.inc
2inherit native
3
4DEPENDS += "bzip2-replacement-native expat-native xz-native zlib-native curl-native"
5
6SRC_URI += "\
7 file://cmlibarchive-disable-ext2fs.patch \
8"
9
10B = "${WORKDIR}/build"
11do_configure[cleandirs] = "${B}"
12
13# Disable ccmake since we don't depend on ncurses
14CMAKE_EXTRACONF = "\
15 -DCMAKE_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \
16 -DBUILD_CursesDialog=0 \
17 -DCMAKE_USE_SYSTEM_LIBRARIES=1 \
18 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \
19 -DCMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE=0 \
20 -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \
21 -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \
22 -DHAVE_SYS_ACL_H=0 \
23"
24
25do_configure () {
26 ${S}/configure --verbose --prefix=${prefix} -- ${CMAKE_EXTRACONF}
27}
28
29do_compile() {
30 oe_runmake
31}
32
33do_install() {
34 oe_runmake 'DESTDIR=${D}' install
35}
36
37do_compile[progress] = "percent"