wok-stable annotate mapserver/receipt @ rev 12198
udev: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 26 16:59:33 2012 +0200 (2012-03-26) |
parents | b61e01717aa6 |
children | d0fbe45f70e1 |
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" |
@11652 | 8 WEB_SITE="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@12172 | 14 apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd" |
@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 |
@11652 | 20 ./configure \ |
@11652 | 21 --with-threads \ |
@11652 | 22 --with-proj \ |
@11652 | 23 --with-postgis \ |
@11652 | 24 --with-geos \ |
@11652 | 25 --with-mapscript \ |
@11652 | 26 --with-gdal \ |
@11652 | 27 --with-ogr \ |
@11652 | 28 --with-tiff \ |
@11652 | 29 --with-jpeg \ |
@11652 | 30 --with-gd \ |
@11652 | 31 --with-freetype \ |
@11652 | 32 --with-wmsclient\ |
@11652 | 33 --with-wmsclient \ |
@11652 | 34 --with-wfsclient \ |
@11652 | 35 --with-wcs \ |
@11652 | 36 --disable-debug \ |
@11652 | 37 $CONFIGURE_ARGS && make && make install-force |
@11652 | 38 } |
@11652 | 39 |
@11652 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
@11652 | 41 genpkg_rules() |
@11652 | 42 { |
@11652 | 43 |
@11652 | 44 mkdir -p $fs/var/www/cgi-bin |
@11652 | 45 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin |
@11652 | 46 } |