wok-current view mapserver/receipt @ rev 22611
updated codiad ( -> 2.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 10 13:31:59 2020 +0100 (2020-01-10) |
parents | 6e8b1bcb30e2 |
children | 11ae0e257652 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mapserver"
4 VERSION="7.4.0"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
13 DEPENDS="giflib libgd libgdal libpostgresqlclient fribidi cairo fcgi"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" \
24 -DWITH_PROJ=1 -DWITH_POSTGIS=1 -DWITH_GEOS=1 -DWITH_GDAL=1 \
25 -DWITH_OGR=1 -DWITH_GD=1 -DWITH_CLIENT_WMS=1 WITH_CLIENT_WFS=1 \
26 -DWITH_WCS=1 -DWITH_PROTOBUFC=0 .. &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
34 mkdir -p $fs/var/www/cgi-bin
35 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
36 cp -a $install/* $fs/
37 }