wok rev 24593

updated geos and geos-dev (3.8.0 -> 3.10.2)
author Hans-G?nter Theisgen
date Tue Mar 01 13:55:15 2022 +0100 (2022-03-01)
parents 66a052ff61b1
children da2fa84d09f5
files geos-dev/receipt geos/description.txt geos/receipt
line diff
     1.1 --- a/geos-dev/receipt	Tue Mar 01 10:06:20 2022 +0000
     1.2 +++ b/geos-dev/receipt	Tue Mar 01 13:55:15 2022 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="geos-dev"
     1.7 -VERSION="3.8.0"
     1.8 +VERSION="3.10.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Geos development files."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -WEB_SITE="https://trac.osgeo.org/geos/"
    1.14 +WEB_SITE="https://libgeos.org/"
    1.15  
    1.16  DEPENDS="geos"
    1.17  WANTED="geos"
    1.18 @@ -14,10 +14,10 @@
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/bin
    1.23 -	mkdir -p $fs/usr/lib
    1.24 +	# 3.10.2 not created
    1.25 +#	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.26  
    1.27 -	cp -a $install/usr/bin		$fs/usr
    1.28 -	cp -a $install/usr/include	$fs/usr
    1.29 -	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.30 +	cook_copy_folders	bin
    1.31 +	cook_copy_folders	include
    1.32 +	cook_copy_folders	pkgconfig
    1.33  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/geos/description.txt	Tue Mar 01 13:55:15 2022 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +GEOS is a C/C++ library for spatial computational geometry of the sort
     2.5 +generally used by "geographic information systems" software.
     2.6 +It implements the OGC Simple Features geometry model and provides all
     2.7 +the spatial functions in that standard as well as many others.
     2.8 +GEOS is a core dependency of PostGIS, QGIS, GDAL, and Shapely.
     3.1 --- a/geos/receipt	Tue Mar 01 10:06:20 2022 +0000
     3.2 +++ b/geos/receipt	Tue Mar 01 13:55:15 2022 +0100
     3.3 @@ -1,18 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="geos"
     3.7 -VERSION="3.8.0"
     3.8 +VERSION="3.10.2"
     3.9  CATEGORY="misc"
    3.10  SHORT_DESC="Geometry Engine, Open Source."
    3.11  MAINTAINER="erjo@slitaz.org"
    3.12  LICENSE="LGPL2.1"
    3.13 -WEB_SITE="https://trac.osgeo.org/geos/"
    3.14 +WEB_SITE="https://libgeos.org/"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.17  WGET_URL="http://download.osgeo.org/geos/$TARBALL"
    3.18  
    3.19  DEPENDS="gcc83-lib-base"
    3.20 -BUILD_DEPENDS="gcc83"
    3.21 +BUILD_DEPENDS="cmake gcc83"
    3.22  
    3.23  # What is the latest version available today?
    3.24  current_version()
    3.25 @@ -24,10 +24,14 @@
    3.26  # Rules to configure and make the package.
    3.27  compile_rules()
    3.28  {
    3.29 -	./configure		\
    3.30 -		CC=gcc-83	\
    3.31 -		CXX=g++-83	\
    3.32 -		$CONFIGURE_ARGS &&
    3.33 +	export	CC=gcc-83
    3.34 +	export	CXX=g++-83
    3.35 +
    3.36 +	mkdir	_build &&
    3.37 +	cd	_build &&
    3.38 +	cmake	..				\
    3.39 +		-D CMAKE_INSTALL_PREFIX=/usr	\
    3.40 +		-D CMAKE_BUILD_TYPE=Release &&
    3.41  	make &&
    3.42  	make install
    3.43  }
    3.44 @@ -35,6 +39,5 @@
    3.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.46  genpkg_rules()
    3.47  {
    3.48 -	mkdir -p $fs/usr/lib
    3.49 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.50 +	cook_copy_files	*.so*
    3.51  }