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