# HG changeset patch # User Hans-G?nter Theisgen # Date 1646139315 -3600 # Node ID 633a990fb38c439f069e14b6fbb79febcec2da32 # Parent 66a052ff61b115b0a0a6fc2ce0c4f3fe78b4e23a updated geos and geos-dev (3.8.0 -> 3.10.2) diff -r 66a052ff61b1 -r 633a990fb38c geos-dev/receipt --- a/geos-dev/receipt Tue Mar 01 10:06:20 2022 +0000 +++ b/geos-dev/receipt Tue Mar 01 13:55:15 2022 +0100 @@ -1,12 +1,12 @@ # SliTaz package receipt. PACKAGE="geos-dev" -VERSION="3.8.0" +VERSION="3.10.2" CATEGORY="development" SHORT_DESC="Geos development files." MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://trac.osgeo.org/geos/" +WEB_SITE="https://libgeos.org/" DEPENDS="geos" WANTED="geos" @@ -14,10 +14,10 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - mkdir -p $fs/usr/lib + # 3.10.2 not created +# cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib + cook_copy_folders bin + cook_copy_folders include + cook_copy_folders pkgconfig } diff -r 66a052ff61b1 -r 633a990fb38c geos/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/geos/description.txt Tue Mar 01 13:55:15 2022 +0100 @@ -0,0 +1,5 @@ +GEOS is a C/C++ library for spatial computational geometry of the sort +generally used by "geographic information systems" software. +It implements the OGC Simple Features geometry model and provides all +the spatial functions in that standard as well as many others. +GEOS is a core dependency of PostGIS, QGIS, GDAL, and Shapely. diff -r 66a052ff61b1 -r 633a990fb38c geos/receipt --- a/geos/receipt Tue Mar 01 10:06:20 2022 +0000 +++ b/geos/receipt Tue Mar 01 13:55:15 2022 +0100 @@ -1,18 +1,18 @@ # SliTaz package receipt. PACKAGE="geos" -VERSION="3.8.0" +VERSION="3.10.2" CATEGORY="misc" SHORT_DESC="Geometry Engine, Open Source." MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://trac.osgeo.org/geos/" +WEB_SITE="https://libgeos.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://download.osgeo.org/geos/$TARBALL" DEPENDS="gcc83-lib-base" -BUILD_DEPENDS="gcc83" +BUILD_DEPENDS="cmake gcc83" # What is the latest version available today? current_version() @@ -24,10 +24,14 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - CC=gcc-83 \ - CXX=g++-83 \ - $CONFIGURE_ARGS && + export CC=gcc-83 + export CXX=g++-83 + + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=Release && make && make install } @@ -35,6 +39,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }