wok-current view mapserver/receipt @ rev 15460
Up: enlightenment (0.17.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:58:42 2013 +0100 (2013-11-05) |
parents | f1f0f4bab8de |
children | 8873e661671a |
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="http://mapserver.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
12 DEPENDS="giflib libgd libgdal libpostgresqlclient"
13 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \
14 apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd libxml2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 patch -p1 -i $stuff/mapserver-Makefile.u || exit 1
20 CFLAGS="$CFLAGS -ldl -lpthread" \
21 ./configure \
22 --with-threads \
23 --with-proj \
24 --with-postgis \
25 --with-geos \
26 --with-mapscript \
27 --with-gdal \
28 --with-ogr \
29 --with-tiff \
30 --with-jpeg \
31 --with-gd \
32 --with-freetype \
33 --with-wmsclient\
34 --with-wmsclient \
35 --with-wfsclient \
36 --with-wcs \
37 --disable-debug \
38 $CONFIGURE_ARGS && make && make install-force
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
45 mkdir -p $fs/var/www/cgi-bin
46 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
47 }