wok view mapserver/receipt @ rev 17741

perl-class-accessor, perl-file-rsync, perl-libjson, perl-texi2html: add bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 20:20:59 2015 +0100 (2015-03-06)
parents ce42c34a2832
children 8417cbe6fdae
line source
1 # SliTaz package receipt.
3 PACKAGE="mapserver"
4 VERSION="6.0.1"
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"
14 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \
15 apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p1 -i $stuff/mapserver-Makefile.u || exit 1
21 CFLAGS="$CFLAGS -ldl -lpthread" \
22 ./configure \
23 --with-threads \
24 --with-proj \
25 --with-postgis \
26 --with-geos \
27 --with-mapscript \
28 --with-gdal \
29 --with-ogr \
30 --with-tiff \
31 --with-jpeg \
32 --with-gd \
33 --with-freetype \
34 --with-wmsclient\
35 --with-wmsclient \
36 --with-wfsclient \
37 --with-wcs \
38 --disable-debug \
39 $CONFIGURE_ARGS && make && make install-force
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
46 mkdir -p $fs/var/www/cgi-bin
47 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
48 }