2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2015-09-25 15:25:47 +01:00
|
|
|
|
|
|
|
PKG := ossim
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_WEBSITE := https://trac.osgeo.org/ossim
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_DESCR := OSSIM
|
2015-09-25 15:25:47 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2017-10-10 04:38:27 +01:00
|
|
|
$(PKG)_VERSION := 43a071a
|
|
|
|
$(PKG)_CHECKSUM := 1796994c8586e62ef799724969e3bef57178194fafe056db3de41dd6ee0dc931
|
|
|
|
# releases have unpredictable names and are based on master branch
|
2018-03-13 04:55:03 +00:00
|
|
|
$(PKG)_GH_CONF := ossimlabs/ossim/branches/master
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc freetype geos hdf5 jpeg libgeotiff libpng openthreads proj tiff zlib
|
2015-09-25 15:25:47 +01:00
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2017-10-10 04:38:27 +01:00
|
|
|
cd '$(BUILD_DIR)' && '$(TARGET)-cmake' '$(SOURCE_DIR)' \
|
2015-12-02 16:00:43 +00:00
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
2015-12-04 11:36:59 +00:00
|
|
|
-DBUILD_OSSIM_FREETYPE_SUPPORT=TRUE \
|
|
|
|
-DBUILD_OSSIM_CURL_APPS=FALSE \
|
2017-10-10 04:38:27 +01:00
|
|
|
-DBUILD_OSSIM_TESTS=FALSE \
|
2018-03-29 03:09:34 +01:00
|
|
|
-DBUILD_OSSIM_APPS=FALSE
|
2015-12-02 16:00:43 +00:00
|
|
|
|
2017-10-10 04:38:27 +01:00
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1
|
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1
|
2015-09-25 15:25:47 +01:00
|
|
|
endef
|