wok-6.x view mapserver/receipt @ rev 18069
smtube: try to fix build
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed May 20 00:18:47 2015 +0200 (2015-05-20) |
parents | ce42c34a2832 |
children | 8417cbe6fdae |
line source
1 # SliTaz package receipt.
3 PACKAGE="mapserver"
4 VERSION="6.0.1"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source platform for publishing spatial data."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://mapserver.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"
13 DEPENDS="giflib libgd libgdal libpostgresqlclient"
14 BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \
15 apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p1 -i $stuff/mapserver-Makefile.u || exit 1
21 CFLAGS="$CFLAGS -ldl -lpthread" \
22 ./configure \
23 --with-threads \
24 --with-proj \
25 --with-postgis \
26 --with-geos \
27 --with-mapscript \
28 --with-gdal \
29 --with-ogr \
30 --with-tiff \
31 --with-jpeg \
32 --with-gd \
33 --with-freetype \
34 --with-wmsclient\
35 --with-wmsclient \
36 --with-wfsclient \
37 --with-wcs \
38 --disable-debug \
39 $CONFIGURE_ARGS && make && make install-force
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
46 mkdir -p $fs/var/www/cgi-bin
47 cp -a $install/usr/bin/mapserv $fs/var/www/cgi-bin
48 }