wok-current view mapserver/receipt @ rev 13498
Add libaio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 10:52:34 2012 +0200 (2012-10-13) |
parents | a621445c6ebd |
children | f1f0f4bab8de |
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"
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 }