SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mapserver"

# SliTaz package receipt.

PACKAGE="mapserver"
VERSION="6.0.1"
CATEGORY="misc"
SHORT_DESC="Open Source platform for publishing spatial data."
MAINTAINER="erjo@slitaz.org"
WEB_SITE="http://mapserver.org/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://download.osgeo.org/mapserver/$TARBALL"

DEPENDS="giflib libgd libgdal libpostgresqlclient"
BUILD_DEPENDS="giflib-dev gdal-dev libgd-dev proj-dev postgresql-dev curl-dev geos-dev \
 apache-dev freetype-dev libpng-dev jpeg-dev libgd-dev libgd"

# Rules to configure and make the package.
compile_rules()
{
    patch -p1 -i $stuff/mapserver-Makefile.u || exit 1
    ./configure \
        --with-threads \
        --with-proj \
        --with-postgis \
        --with-geos \
        --with-mapscript \
        --with-gdal \
        --with-ogr \
        --with-tiff \
        --with-jpeg \
        --with-gd \
        --with-freetype \
        --with-wmsclient\
        --with-wmsclient \
        --with-wfsclient \
        --with-wcs \
        --disable-debug \
    $CONFIGURE_ARGS && make && make install-force
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    
    mkdir -p $fs/var/www/cgi-bin
    cp -a $install/usr/bin/mapserv  $fs/var/www/cgi-bin
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)