wok view mapserver/receipt @ rev 23833

updated picard (1.4.0.5 -> 2.3.1)
author Hans-G?nter Theisgen
date Mon Jun 01 07:18:17 2020 +0100 (2020-06-01)
parents 24ba9ec842e9
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="mapserver"
4 VERSION="7.4.3"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source platform for publishing spatial data."
7 MAINTAINER="erjo@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 DEPENDS="cairo fcgi fribidi giflib libgd libgdal libpostgresqlclient"
15 BUILD_DEPENDS="apache-dev cairo-dev cmake curl-dev fcgi-dev freetype-dev
16 fribidi-dev gdal-dev geos-dev giflib-dev jpeg-dev libgd libgd-dev
17 libpng-dev libxml2-dev postgresql-dev proj-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build &&
23 cd build &&
24 cmake .. \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DCMAKE_BUILD_TYPE="Release" \
27 -DWITH_PROJ=1 \
28 -DWITH_POSTGIS=1 \
29 -DWITH_GEOS=1 \
30 -DWITH_GDAL=1 \
31 -DWITH_OGR=1 \
32 -DWITH_GD=1 \
33 -DWITH_CLIENT_WMS=1 \
34 -DWITH_CLIENT_WFS=1 \
35 -DWITH_WCS=1 \
36 -DWITH_PROTOBUFC=0 &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
45 mkdir -p $fs/var/www/cgi-bin
46 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
47 cp -a $install/* $fs/
48 }