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