wok-next diff mapserver/receipt @ rev 19534
Up cookutils (842)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 29 17:31:57 2016 +0200 (2016-11-29) |
parents | af8a8f177c6c |
children | dd145c435e4b |
line diff
1.1 --- a/mapserver/receipt Sat Sep 12 19:55:05 2015 +0200 1.2 +++ b/mapserver/receipt Tue Nov 29 17:31:57 2016 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mapserver" 1.7 -VERSION="6.0.1" 1.8 +VERSION="6.4.3" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="Open Source platform for publishing spatial data." 1.11 MAINTAINER="erjo@slitaz.org" 1.12 @@ -10,33 +10,21 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL" 1.15 1.16 -DEPENDS="giflib libgd libgdal libpostgresqlclient" 1.17 -BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \ 1.18 - apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd libxml2-dev" 1.19 +DEPENDS="giflib libgd libgdal libpostgresqlclient fribidi cairo fcgi" 1.20 +BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev \ 1.21 +geos-dev apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd \ 1.22 +libxml2-dev fribidi-dev cairo-dev fcgi-dev cmake" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - patch -p1 -i $stuff/mapserver-Makefile.u || exit 1 1.28 - CFLAGS="$CFLAGS -ldl -lpthread" \ 1.29 - ./configure \ 1.30 - --with-threads \ 1.31 - --with-proj \ 1.32 - --with-postgis \ 1.33 - --with-geos \ 1.34 - --with-mapscript \ 1.35 - --with-gdal \ 1.36 - --with-ogr \ 1.37 - --with-tiff \ 1.38 - --with-jpeg \ 1.39 - --with-gd \ 1.40 - --with-freetype \ 1.41 - --with-wmsclient\ 1.42 - --with-wmsclient \ 1.43 - --with-wfsclient \ 1.44 - --with-wcs \ 1.45 - --disable-debug \ 1.46 - $CONFIGURE_ARGS && make && make install-force 1.47 + mkdir build 1.48 + cd build 1.49 + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" \ 1.50 + -DWITH_PROJ=1 -DWITH_POSTGIS=1 -DWITH_GEOS=1 -DWITH_GDAL=1 \ 1.51 + -DWITH_OGR=1 -DWITH_GD=1 -DWITH_CLIENT_WMS=1 WITH_CLIENT_WFS=1 \ 1.52 + -DWITH_WCS=1 .. && 1.53 + make && make install 1.54 } 1.55 1.56 # Rules to gen a SliTaz package suitable for Tazpkg. 1.57 @@ -45,4 +33,5 @@ 1.58 1.59 mkdir -p $fs/var/www/cgi-bin 1.60 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin 1.61 + cp -a $install/* $fs/ 1.62 } 1.63 \ No newline at end of file