# HG changeset patch # User Pascal Bellard # Date 1457695187 -3600 # Node ID bdbe0c96744b489a9658e1eb6ed3c29bf0f525d5 # Parent 00588af2d51d2fbef1dcd69eb0933e813fc8fe2b Up mapserver (6.4.3) diff -r 00588af2d51d -r bdbe0c96744b mapserver/receipt --- a/mapserver/receipt Fri Mar 11 07:40:00 2016 +0100 +++ b/mapserver/receipt Fri Mar 11 12:19:47 2016 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="mapserver" -VERSION="6.0.1" +VERSION="6.4.3" CATEGORY="misc" SHORT_DESC="Open Source platform for publishing spatial data." MAINTAINER="erjo@slitaz.org" @@ -10,33 +10,21 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://download.osgeo.org/mapserver/$TARBALL" -DEPENDS="giflib libgd libgdal libpostgresqlclient" -BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \ - apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd libxml2-dev" +DEPENDS="giflib libgd libgdal libpostgresqlclient fribidi cairo fcgi" +BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev \ +geos-dev apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd \ +libxml2-dev fribidi-dev cairo-dev fcgi-dev cmake" # Rules to configure and make the package. compile_rules() { - patch -p1 -i $stuff/mapserver-Makefile.u || exit 1 - CFLAGS="$CFLAGS -ldl -lpthread" \ - ./configure \ - --with-threads \ - --with-proj \ - --with-postgis \ - --with-geos \ - --with-mapscript \ - --with-gdal \ - --with-ogr \ - --with-tiff \ - --with-jpeg \ - --with-gd \ - --with-freetype \ - --with-wmsclient\ - --with-wmsclient \ - --with-wfsclient \ - --with-wcs \ - --disable-debug \ - $CONFIGURE_ARGS && make && make install-force + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" \ + -DWITH_PROJ=1 -DWITH_POSTGIS=1 -DWITH_GEOS=1 -DWITH_GDAL=1 \ + -DWITH_OGR=1 -DWITH_GD=1 -DWITH_CLIENT_WMS=1 WITH_CLIENT_WFS=1 \ + -DWITH_WCS=1 .. && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -45,4 +33,5 @@ mkdir -p $fs/var/www/cgi-bin cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin + cp -a $install/* $fs/ } \ No newline at end of file