mxe/src/ossim.mk

24 lines
898 B
Makefile
Raw Permalink Normal View History

# 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
$(PKG)_DESCR := OSSIM
2015-09-25 15:25:47 +01:00
$(PKG)_IGNORE :=
$(PKG)_VERSION := 43a071a
$(PKG)_CHECKSUM := 1796994c8586e62ef799724969e3bef57178194fafe056db3de41dd6ee0dc931
# releases have unpredictable names and are based on master branch
$(PKG)_GH_CONF := ossimlabs/ossim/branches/master
$(PKG)_DEPS := cc freetype geos hdf5 jpeg libgeotiff libpng openthreads proj tiff zlib
2015-09-25 15:25:47 +01:00
define $(PKG)_BUILD
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 \
-DBUILD_OSSIM_TESTS=FALSE \
-DBUILD_OSSIM_APPS=FALSE
2015-12-02 16:00:43 +00: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