wok-6.x view mapserver/receipt @ rev 15111

libtdb: no more tdb.mk
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:01:32 2013 +0000 (2013-08-14)
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 }