wok-next view mapserver/receipt @ rev 20871

fossil: up (2.6) / fix build; sqlite3: up (3.24.0), drop providing "sqlite[^3]*"; add staticperl
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 02 22:39:08 2018 +0300 (2018-07-02)
parents bdbe0c96744b
children d5aab818505e
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="http://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 libpng16-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 }