wok-next annotate mapserver/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | bdbe0c96744b |
children | d5aab818505e |
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 \ |
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 |
@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 } |