libupm: add package

upm is a sensor library that sits ontop of libmraa. it has support for a large
number of sensors and exports bindings for node, python, ...

Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
John Crispin
2015-08-19 12:50:49 +02:00
parent e3d82916ad
commit d313c7b182
2 changed files with 98 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,12 +26,7 @@
include(GNUInstallDirs)
# Make a version file containing the current version from git.
-include (GetGitRevisionDescription)
-git_describe (VERSION "--tags")
-if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND")
- message (WARNING " - Install git to compile a production UPM!")
- set (VERSION "v0.4.0-dirty")
-endif ()
+set (VERSION "v0.4.0")
message (INFO " - UPM Version ${VERSION}")