termux-packages/packages/mapserver/build.sh
2021-12-04 14:36:35 +01:00

35 lines
1.1 KiB
Bash

TERMUX_PKG_HOMEPAGE=http://mapserver.org/
TERMUX_PKG_DESCRIPTION="MapServer is CGI-based platform for publishing spatial data and interactive mapping applications to the web."
TERMUX_PKG_MAINTAINER="Bjoern Schilberg @BjoernSchilberg"
TERMUX_PKG_DEPENDS="libandroid-support,freetype,libcurl,libcairo,libxml2,openjpeg,proj4,gdal"
TERMUX_PKG_VERSION=7.0.7
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://download.osgeo.org/mapserver/mapserver-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=37a8c3008328bae0fea05109d6d544a3284f756a23956e8a2f5ec10a6b5fef67
TERMUX_PKG_RM_AFTER_INSTALL="share/mapserver/cmake/"
TERMUX_PKG_BUILD_IN_SRC=""
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DCMAKE_BUILD_TYPE=Release \
-DWITH_GDAL=ON \
-DWITH_GEOS=OFF \
-DWITH_OGR=ON\
-DWITH_PROJ=ON \
-DWITH_POSTGIS=OFF \
-DWITH_KML=ON \
-DWITH_WCS=ON \
-DWITH_SOS=ON \
-DWITH_WMS=ON \
-DWITH_CLIENT_WMS=ON \
-DWITH_WFS=ON \
-DWITH_CLIENT_WFS=ON \
-DWITH_THREAD_SAFETY=OFF \
-DWITH_FCGI=OFF \
-DWITH_CAIRO=ON \
-DWITH_CURL=ON \
-DWITH_MYSQL=OFF \
-DWITH_FRIBIDI=OFF \
-DWITH_HARFBUZZ=OFF \
-DWITH_GIF=OFF \
-DWITH_EXEMPI=OFF
"