You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/ossim.mk

24 lines
898 B

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := ossim
$(PKG)_WEBSITE := https://trac.osgeo.org/ossim
$(PKG)_DESCR := OSSIM
$(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
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && '$(TARGET)-cmake' '$(SOURCE_DIR)' \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DBUILD_OSSIM_FREETYPE_SUPPORT=TRUE \
-DBUILD_OSSIM_CURL_APPS=FALSE \
-DBUILD_OSSIM_TESTS=FALSE \
-DBUILD_OSSIM_APPS=FALSE
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1
endef