wok-current diff mapserver/receipt @ rev 11652
Add: mapserver
author | Eric Joseph-Alexandre < erjo@slitaz.org> |
---|---|
date | Sat Feb 11 01:43:53 2012 +0100 (2012-02-11) |
parents | |
children | 8a9f1bba4fa8 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mapserver/receipt Sat Feb 11 01:43:53 2012 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mapserver" 1.7 +VERSION="6.0.1" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Open Source platform for publishing spatial data." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="mapserver.org" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="http://download.osgeo.org/mapserver/$TARBALL" 1.14 + 1.15 +DEPENDS="giflib libgd libgdal" 1.16 +BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \ 1.17 + apache-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + patch -p1 -i $stuff/mapserver-Makefile.u || exit 1 1.23 + ./configure \ 1.24 + --with-threads \ 1.25 + --with-proj \ 1.26 + --with-postgis \ 1.27 + --with-geos \ 1.28 + --with-mapscript \ 1.29 + --with-gdal \ 1.30 + --with-ogr \ 1.31 + --with-tiff \ 1.32 + --with-jpeg \ 1.33 + --with-gd \ 1.34 + --with-freetype \ 1.35 + --with-wmsclient\ 1.36 + --with-wmsclient \ 1.37 + --with-wfsclient \ 1.38 + --with-wcs \ 1.39 + --disable-debug \ 1.40 + $CONFIGURE_ARGS && make && make install-force 1.41 +} 1.42 + 1.43 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 +genpkg_rules() 1.45 +{ 1.46 + 1.47 + mkdir -p $fs/var/www/cgi-bin 1.48 + cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin 1.49 +}