wok annotate mapserver/receipt @ rev 22351

umfpack: hide metis-4.0 missing
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 18 16:07:36 2019 +0100 (4 months ago)
parents 6e8b1bcb30e2
children 11ae0e257652
rev   line source
@11652 1 # SliTaz package receipt.
@11652 2
@11652 3 PACKAGE="mapserver"
pascal@21760 4 VERSION="7.4.0"
@11652 5 CATEGORY="misc"
@11652 6 SHORT_DESC="Open Source platform for publishing spatial data."
@11652 7 MAINTAINER="erjo@slitaz.org"
pascal@15610 8 LICENSE="MIT"
pascal@20671 9 WEB_SITE="https://mapserver.org/"
@11652 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
@11652 11 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
@11652 12
pascal@18967 13 DEPENDS="giflib libgd libgdal libpostgresqlclient fribidi cairo fcgi"
pascal@18967 14 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev \
pascal@18967 15 geos-dev apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd \
pascal@18967 16 libxml2-dev fribidi-dev cairo-dev fcgi-dev cmake"
@11652 17
@11652 18 # Rules to configure and make the package.
@11652 19 compile_rules()
@11652 20 {
pascal@18967 21 mkdir build
pascal@18967 22 cd build
pascal@18967 23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release" \
pascal@18967 24 -DWITH_PROJ=1 -DWITH_POSTGIS=1 -DWITH_GEOS=1 -DWITH_GDAL=1 \
pascal@18967 25 -DWITH_OGR=1 -DWITH_GD=1 -DWITH_CLIENT_WMS=1 WITH_CLIENT_WFS=1 \
pascal@21760 26 -DWITH_WCS=1 -DWITH_PROTOBUFC=0 .. &&
pascal@18967 27 make && make install
@11652 28 }
@11652 29
@11652 30 # Rules to gen a SliTaz package suitable for Tazpkg.
@11652 31 genpkg_rules()
@11652 32 {
@11652 33
@11652 34 mkdir -p $fs/var/www/cgi-bin
@11652 35 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
pascal@18967 36 cp -a $install/* $fs/
psychomaniak@18352 37 }