wok-6.x annotate mapserver/receipt @ rev 16792

Add libjson
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 02 20:52:57 2014 +0200 (2014-07-02)
parents ce42c34a2832
children 8417cbe6fdae
rev   line source
@11652 1 # SliTaz package receipt.
@11652 2
@11652 3 PACKAGE="mapserver"
@11652 4 VERSION="6.0.1"
@11652 5 CATEGORY="misc"
@11652 6 SHORT_DESC="Open Source platform for publishing spatial data."
@11652 7 MAINTAINER="erjo@slitaz.org"
pascal@15610 8 LICENSE="MIT"
pascal@12205 9 WEB_SITE="http://mapserver.org/"
@11652 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
@11652 11 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
@11652 12
pascal@12155 13 DEPENDS="giflib libgd libgdal libpostgresqlclient"
@11652 14 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \
pascal@14043 15 apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd libxml2-dev"
@11652 16
@11652 17 # Rules to configure and make the package.
@11652 18 compile_rules()
@11652 19 {
@11652 20 patch -p1 -i $stuff/mapserver-Makefile.u || exit 1
pascal@14050 21 CFLAGS="$CFLAGS -ldl -lpthread" \
@11652 22 ./configure \
@11652 23 --with-threads \
@11652 24 --with-proj \
@11652 25 --with-postgis \
@11652 26 --with-geos \
@11652 27 --with-mapscript \
@11652 28 --with-gdal \
@11652 29 --with-ogr \
@11652 30 --with-tiff \
@11652 31 --with-jpeg \
@11652 32 --with-gd \
@11652 33 --with-freetype \
@11652 34 --with-wmsclient\
@11652 35 --with-wmsclient \
@11652 36 --with-wfsclient \
@11652 37 --with-wcs \
@11652 38 --disable-debug \
@11652 39 $CONFIGURE_ARGS && make && make install-force
@11652 40 }
@11652 41
@11652 42 # Rules to gen a SliTaz package suitable for Tazpkg.
@11652 43 genpkg_rules()
@11652 44 {
@11652 45
@11652 46 mkdir -p $fs/var/www/cgi-bin
@11652 47 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
@11652 48 }