wok annotate mapserver/receipt @ rev 23748
updated xfi (1.40 -> 1.43.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 15:05:50 2020 +0100 (2020-05-01) |
parents | 24ba9ec842e9 |
children | 241fb98cab1c |
rev | line source |
---|---|
@11652 | 1 # SliTaz package receipt. |
@11652 | 2 |
@11652 | 3 PACKAGE="mapserver" |
Hans-G?nter@23164 | 4 VERSION="7.4.3" |
@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/" |
Hans-G?nter@23164 | 10 |
@11652 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
@11652 | 12 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL" |
@11652 | 13 |
Hans-G?nter@23164 | 14 DEPENDS="cairo fcgi fribidi giflib libgd libgdal libpostgresqlclient" |
Hans-G?nter@23164 | 15 BUILD_DEPENDS="apache-dev cairo-dev cmake curl-dev fcgi-dev freetype-dev |
Hans-G?nter@23164 | 16 fribidi-dev gdal-dev geos-dev giflib-dev jpeg-dev libgd libgd-dev |
Hans-G?nter@23164 | 17 libpng-dev libxml2-dev postgresql-dev proj-dev" |
@11652 | 18 |
@11652 | 19 # Rules to configure and make the package. |
@11652 | 20 compile_rules() |
@11652 | 21 { |
Hans-G?nter@23164 | 22 mkdir build && |
Hans-G?nter@23164 | 23 cd build && |
Hans-G?nter@23164 | 24 cmake .. \ |
Hans-G?nter@23164 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@23164 | 26 -DCMAKE_BUILD_TYPE="Release" \ |
Hans-G?nter@23164 | 27 -DWITH_PROJ=1 \ |
Hans-G?nter@23164 | 28 -DWITH_POSTGIS=1 \ |
Hans-G?nter@23164 | 29 -DWITH_GEOS=1 \ |
Hans-G?nter@23164 | 30 -DWITH_GDAL=1 \ |
Hans-G?nter@23164 | 31 -DWITH_OGR=1 \ |
Hans-G?nter@23164 | 32 -DWITH_GD=1 \ |
Hans-G?nter@23164 | 33 -DWITH_CLIENT_WMS=1 \ |
Hans-G?nter@23164 | 34 -DWITH_CLIENT_WFS=1 \ |
Hans-G?nter@23164 | 35 -DWITH_WCS=1 \ |
Hans-G?nter@23164 | 36 -DWITH_PROTOBUFC=0 && |
Hans-G?nter@23164 | 37 make && |
Hans-G?nter@23164 | 38 make install |
@11652 | 39 } |
@11652 | 40 |
@11652 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
@11652 | 42 genpkg_rules() |
@11652 | 43 { |
@11652 | 44 |
@11652 | 45 mkdir -p $fs/var/www/cgi-bin |
Hans-G?nter@23164 | 46 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin |
Hans-G?nter@23164 | 47 cp -a $install/* $fs/ |
Hans-G?nter@23164 | 48 } |