wok-next annotate mapserver/receipt @ rev 21041
Follow HTTP redirections for homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 13:21:03 2018 +0200 (2018-11-09) |
parents | d5aab818505e |
children | 5669e8b3be70 |
rev | line source |
---|---|
@11652 | 1 # SliTaz package receipt. |
@11652 | 2 |
@11652 | 3 PACKAGE="mapserver" |
pascal@18967 | 4 VERSION="6.4.3" |
@11652 | 5 CATEGORY="misc" |
al@21020 | 6 SHORT_DESC="Open Source platform for publishing spatial data" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15610 | 8 LICENSE="MIT" |
al@21041 | 9 WEB_SITE="https://mapserver.org/" |
al@21020 | 10 |
@11652 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
@11652 | 12 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL" |
@11652 | 13 |
pascal@18967 | 14 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev \ |
al@20454 | 15 geos-dev apache-dev freetype-dev libpng16-dev jpeg-dev libgd-dev libgd \ |
pascal@18967 | 16 libxml2-dev fribidi-dev cairo-dev fcgi-dev cmake" |
@11652 | 17 |
al@21020 | 18 compile_rules() { |
pascal@18967 | 19 mkdir build |
al@21020 | 20 cd build |
al@21020 | 21 cmake \ |
al@21020 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21020 | 23 -DCMAKE_BUILD_TYPE="Release" \ |
al@21020 | 24 -DWITH_PROJ=1 \ |
al@21020 | 25 -DWITH_POSTGIS=1 \ |
al@21020 | 26 -DWITH_GEOS=1 \ |
al@21020 | 27 -DWITH_GDAL=1 \ |
al@21020 | 28 -DWITH_OGR=1 \ |
al@21020 | 29 -DWITH_GD=1 \ |
al@21020 | 30 -DWITH_CLIENT_WMS=1 \ |
al@21020 | 31 -DWITH_CLIENT_WFS=1 \ |
al@21020 | 32 -DWITH_WCS=1 \ |
al@21020 | 33 .. && |
al@21020 | 34 make && |
al@21020 | 35 make install |
@11652 | 36 } |
@11652 | 37 |
al@21020 | 38 genpkg_rules() { |
@11652 | 39 mkdir -p $fs/var/www/cgi-bin |
@11652 | 40 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin |
pascal@18967 | 41 cp -a $install/* $fs/ |
al@21020 | 42 DEPENDS="giflib libgd libgdal libpostgresqlclient fribidi cairo fcgi" |
al@21020 | 43 } |