diff options
author | Bjoern Schilberg <bjoern@intevation.de> | 2017-03-17 21:24:17 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-03-20 09:39:19 +0000 |
commit | 53f856d64fb99d0e565a5c133d7eaf4c1901987f (patch) | |
tree | 1237e3a220281e1737d7b3ed5dde89c72d278fc4 /testing/mapserver | |
parent | abe37391e71bf078c4c860ae58f132c727a8faa5 (diff) | |
download | aports-53f856d64fb99d0e565a5c133d7eaf4c1901987f.tar.bz2 aports-53f856d64fb99d0e565a5c133d7eaf4c1901987f.tar.xz |
testing/mapserver: new aport
http://mapserver.org/
MapServer is CGI-based platform for publishing spatial data and interactive mapping applications to the web.
[TT: Minor stylistic changes]
Diffstat (limited to 'testing/mapserver')
-rw-r--r-- | testing/mapserver/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/mapserver/APKBUILD b/testing/mapserver/APKBUILD new file mode 100644 index 0000000000..6e4dac1023 --- /dev/null +++ b/testing/mapserver/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Bjoern Schilberg <bjoern@intevation.de> +# Maintainer: Bjoern Schilberg <bjoern@intevation.de> +pkgname=mapserver +pkgver=7.0.4 +pkgrel=1 +pkgdesc="MapServer is CGI-based platform for publishing spatial data and interactive mapping applications to the web." +url="http://mapserver.org/" +arch="x86_64" +license="MIT" +depends="geos gdal proj4 cairo curl fcgi freetype libjpeg libpng libxml2 libpq giflib" +depends_dev="cmake postgresql-dev geos-dev gdal-dev jpeg-dev giflib-dev libxml2-dev proj4-dev fcgi-dev curl-dev freetype-dev cairo-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://download.osgeo.org/mapserver/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + mkdir build; cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_GDAL=ON \ + -DWITH_GEOS=ON \ + -DWITH_OGR=ON \ + -DWITH_PROJ=ON \ + -DWITH_POSTGIS=ON \ + -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=ON \ + -DWITH_CAIRO=ON \ + -DWITH_CURL=ON \ + -DWITH_MYSQL=OFF \ + -DWITH_FRIBIDI=OFF \ + -DWITH_HARFBUZZ=OFF \ + -DWITH_EXEMPI=OFF + make -j1 || return 1 +} + +package() { + cd "$builddir"/build + make DESTDIR="$pkgdir" install || return 1 + rm -rf "$pkgdir"/usr/share/ + chmod -x "$pkgdir"/usr/include/mapserver/*.h +} + +sha512sums="04d61e488d59bccdde6eece4b59c5ad0f954bb15797b5bff6e961f4616f0d9d571a2d145788a5254b6d9e9a82dbccf34047a519642344fa1dffafaed16877fa6 mapserver-7.0.4.tar.gz" |