wok-current annotate mapserver/receipt @ rev 20214
Force host arch to i486 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 15:49:51 2018 +0100 (2018-02-24) |
parents | af8a8f177c6c |
children | 6e8b1bcb30e2 |
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" |
@11652 | 6 SHORT_DESC="Open Source platform for publishing spatial data." |
@11652 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15610 | 8 LICENSE="MIT" |
pascal@12205 | 9 WEB_SITE="http://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@18967 | 26 -DWITH_WCS=1 .. && |
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 } |