wok-current diff mapserver/receipt @ rev 24288

fail2ban: add log4j-jndi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 13 18:29:05 2022 +0000 (2022-01-13)
parents 24ba9ec842e9
children 241fb98cab1c
line diff
     1.1 --- a/mapserver/receipt	Wed Jun 26 22:38:34 2019 +0200
     1.2 +++ b/mapserver/receipt	Thu Jan 13 18:29:05 2022 +0000
     1.3 @@ -1,30 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mapserver"
     1.7 -VERSION="7.4.0"
     1.8 +VERSION="7.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  LICENSE="MIT"
    1.13  WEB_SITE="https://mapserver.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
    1.17  
    1.18 -DEPENDS="giflib libgd libgdal libpostgresqlclient fribidi cairo fcgi"
    1.19 -BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev \
    1.20 -geos-dev apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd \
    1.21 -libxml2-dev fribidi-dev cairo-dev fcgi-dev cmake"
    1.22 +DEPENDS="cairo fcgi fribidi giflib libgd libgdal libpostgresqlclient"
    1.23 +BUILD_DEPENDS="apache-dev cairo-dev cmake curl-dev fcgi-dev freetype-dev 
    1.24 +	fribidi-dev gdal-dev geos-dev giflib-dev jpeg-dev libgd libgd-dev 
    1.25 +	libpng-dev libxml2-dev postgresql-dev proj-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	mkdir build
    1.31 -	cd build
    1.32 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" \
    1.33 -		-DWITH_PROJ=1 -DWITH_POSTGIS=1 -DWITH_GEOS=1 -DWITH_GDAL=1 \
    1.34 -		-DWITH_OGR=1 -DWITH_GD=1 -DWITH_CLIENT_WMS=1 WITH_CLIENT_WFS=1 \
    1.35 -		-DWITH_WCS=1 -DWITH_PROTOBUFC=0 .. &&
    1.36 -	make && make install
    1.37 +	mkdir build &&
    1.38 +	cd build &&
    1.39 +	cmake	..				\
    1.40 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.41 +		-DCMAKE_BUILD_TYPE="Release"	\
    1.42 +		-DWITH_PROJ=1			\
    1.43 +		-DWITH_POSTGIS=1		\
    1.44 +		-DWITH_GEOS=1			\
    1.45 +		-DWITH_GDAL=1			\
    1.46 +		-DWITH_OGR=1			\
    1.47 +		-DWITH_GD=1			\
    1.48 +		-DWITH_CLIENT_WMS=1		\
    1.49 +		-DWITH_CLIENT_WFS=1		\
    1.50 +		-DWITH_WCS=1			\
    1.51 +		-DWITH_PROTOBUFC=0 &&
    1.52 +	make &&
    1.53 +	make install
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.57 @@ -32,6 +43,6 @@
    1.58  {
    1.59  	
    1.60  	mkdir -p $fs/var/www/cgi-bin
    1.61 -	cp -a $install/usr/bin/mapserv  $fs/var/www/cgi-bin
    1.62 -	cp -a $install/* $fs/
    1.63 -}
    1.64 \ No newline at end of file
    1.65 +	cp -a $install/usr/bin/mapserv	$fs/var/www/cgi-bin
    1.66 +	cp -a $install/*		$fs/
    1.67 +}