wok-next view mapserver/receipt @ rev 21616

updated ed (1.14.2 -> 1.16)
author Hans-G?nter Theisgen
date Thu Jun 25 13:24:06 2020 +0100 (2020-06-25)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mapserver"
4 VERSION="6.4.3"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source platform for publishing spatial data"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://mapserver.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
14 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev \
15 geos-dev apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd \
16 libxml2-dev fribidi-dev cairo-dev fcgi-dev cmake"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE="Release" \
24 -DWITH_PROJ=1 \
25 -DWITH_POSTGIS=1 \
26 -DWITH_GEOS=1 \
27 -DWITH_GDAL=1 \
28 -DWITH_OGR=1 \
29 -DWITH_GD=1 \
30 -DWITH_CLIENT_WMS=1 \
31 -DWITH_CLIENT_WFS=1 \
32 -DWITH_WCS=1 \
33 .. &&
34 make &&
35 make install
36 }
38 genpkg_rules() {
39 mkdir -p $fs/var/www/cgi-bin
40 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
41 cp -a $install/* $fs/
42 DEPENDS="giflib libgd libgdal libpostgresqlclient fribidi libcairo fcgi"
43 }