wok-next rev 20032

Up postgis (2.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 17:35:48 2017 +0200 (2017-10-22)
parents be13ba9071b1
children 8014569962ac
files postgis-gui/receipt postgis/receipt
line diff
     1.1 --- a/postgis-gui/receipt	Sun Oct 22 17:04:09 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="postgis-gui"
     1.7 -VERSION="2.2.0"
     1.8 -CATEGORY="misc"
     1.9 -SHORT_DESC="Support for geographic objects to PostgreSQL"
    1.10 -MAINTAINER="erjo@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://postgis.refractions.net/"
    1.13 -WANTED="postgis"
    1.14 -
    1.15 -DEPENDS="gtk+ postgis"
    1.16 -
    1.17 -
    1.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 -genpkg_rules()
    1.20 -{
    1.21 -	mkdir -p $fs/usr/bin
    1.22 -	cp -a $install/usr/bin/shp2pgsql-gui $fs/usr/bin 
    1.23 -}
     2.1 --- a/postgis/receipt	Sun Oct 22 17:04:09 2017 +0200
     2.2 +++ b/postgis/receipt	Sun Oct 22 17:35:48 2017 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="postgis"
     2.8 -VERSION="2.2.0"
     2.9 +VERSION="2.4.0"
    2.10  CATEGORY="misc"
    2.11  SHORT_DESC="Support for geographic objects to PostgreSQL"
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13 @@ -10,9 +10,9 @@
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15  WGET_URL="http://download.osgeo.org/postgis/source/$TARBALL"
    2.16  
    2.17 -DEPENDS="geos proj libpostgresqlclient libxml2 libgdal"
    2.18  BUILD_DEPENDS="pkg-config postgresql-dev geos-dev proj-dev libxml2-dev \
    2.19  gtk+-dev gdal-dev jasper-dev curl-dev libpostgresqlclient tiff"
    2.20 +SPLIT="postgis-gui"
    2.21  
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24 @@ -24,6 +24,17 @@
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28 -	cp -a $install/* $fs
    2.29 -	rm -f $fs/usr/bin/shp2pgsql-gui 
    2.30 +	case $PACKAGE in
    2.31 +	postgis)
    2.32 +		DEPENDS="geos proj libpostgresqlclient libxml2 libgdal"
    2.33 +		cp -a $install/* $fs
    2.34 +		rm -f $fs/usr/bin/shp2pgsql-gui 
    2.35 +		;;
    2.36 +	postgis-gui)
    2.37 +		CAT="misc|Support for geographic objects to PostgreSQL"
    2.38 +		DEPENDS="gtk+ postgis"
    2.39 +		mkdir -p $fs/usr/bin
    2.40 +		cp -a $install/usr/bin/shp2pgsql-gui $fs/usr/bin 
    2.41 +		;;
    2.42 +	esac
    2.43  }