summaryrefslogtreecommitdiffstats
path: root/src/osgearth.mk
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2018-03-15 19:15:47 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-26 12:55:53 (GMT)
commit55e29839a380fe33c61c47a090b63f64d525d280 (patch)
tree08e3f39e8b781b312d409af9fc0e63ac169e8cf7 /src/osgearth.mk
parentfa3b687f85678dd2ee1e6ca932c9e64fd9406364 (diff)
downloadmxe-55e29839a380fe33c61c47a090b63f64d525d280.zip
mxe-55e29839a380fe33c61c47a090b63f64d525d280.tar.gz
mxe-55e29839a380fe33c61c47a090b63f64d525d280.tar.bz2
add package osgearth
Diffstat (limited to 'src/osgearth.mk')
-rw-r--r--src/osgearth.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/osgearth.mk b/src/osgearth.mk
new file mode 100644
index 0000000..1383017
--- /dev/null
+++ b/src/osgearth.mk
@@ -0,0 +1,21 @@
+# This file is part of MXE. See LICENSE.md for licensing information.
+
+PKG := osgearth
+$(PKG)_WEBSITE := http://osgearth.org/
+$(PKG)_DESCR := Geospatial SDK for OpenSceneGraph
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.8
+$(PKG)_CHECKSUM := 5570dc5b62f6f9e28954f5cbd7946a9b35767c06b375eff1c4cc40561e7f1655
+$(PKG)_GH_CONF := gwaldron/osgearth/tags, osgearth-
+$(PKG)_DEPS := curl gcc gdal openscenegraph sqlite tinyxml2 zlib
+
+define $(PKG)_BUILD
+ cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
+ -DWITH_EXTERNAL_TINYXML=ON \
+ -DDYNAMIC_OSGEARTH=$(CMAKE_SHARED_BOOL) \
+ -DBUILD_OSGEARTH_EXAMPLES=OFF
+
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install
+endef
+