wok-current view mapserver/receipt @ rev 21496
updated mtd-utils again (1.5.0 -> 2.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 02 12:58:00 2019 +0100 (2019-05-02) |
parents | bdbe0c96744b |
children | 24ba9ec842e9 |
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="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 .. &&
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 }