wok-current view mapserver/receipt @ rev 11896
Up: libfm (0.1.17) - Needed by last pcmafm2
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 29 14:48:46 2012 +0100 (2012-02-29) |
parents | |
children | 8a9f1bba4fa8 |
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 WEB_SITE="mapserver.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
12 DEPENDS="giflib libgd libgdal"
13 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \
14 apache-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 patch -p1 -i $stuff/mapserver-Makefile.u || exit 1
20 ./configure \
21 --with-threads \
22 --with-proj \
23 --with-postgis \
24 --with-geos \
25 --with-mapscript \
26 --with-gdal \
27 --with-ogr \
28 --with-tiff \
29 --with-jpeg \
30 --with-gd \
31 --with-freetype \
32 --with-wmsclient\
33 --with-wmsclient \
34 --with-wfsclient \
35 --with-wcs \
36 --disable-debug \
37 $CONFIGURE_ARGS && make && make install-force
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
44 mkdir -p $fs/var/www/cgi-bin
45 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
46 }