wok view mapserver/receipt @ rev 19781
mate-control-center; update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 22 09:33:32 2017 +0100 (2017-02-22) |
parents | af8a8f177c6c |
children | 6e8b1bcb30e2 |
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 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 }