wok view postgis/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents 851e4e7e4f69
children e2ec3520cf88
line source
1 # SliTaz package receipt.
3 PACKAGE="postgis"
4 VERSION="2.2.0"
5 CATEGORY="misc"
6 SHORT_DESC="Support for geographic objects to PostgreSQL"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://postgis.refractions.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://download.osgeo.org/postgis/source/$TARBALL"
13 DEPENDS="geos proj libpostgresqlclient libxml2 libgdal"
14 BUILD_DEPENDS="pkg-config postgresql-dev geos-dev proj-dev libxml2-dev \
15 gtk+-dev gdal-dev jasper-dev curl-dev libpostgresqlclient tiff"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --with-gui $CONFIGURE_ARGS \
21 && make -j 1 && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/* $fs
28 rm -f $fs/usr/bin/shp2pgsql-gui
29 }