wok-current view geos/receipt @ rev 24801

updated libiodbc and libiodbc-dev (3.52.13 -> 3.52.15)
author Hans-G?nter Theisgen
date Tue Mar 22 10:00:57 2022 +0100 (2022-03-22)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
3 PACKAGE="geos"
4 VERSION="3.10.2"
5 CATEGORY="misc"
6 SHORT_DESC="Geometry Engine, Open Source."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libgeos.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.osgeo.org/geos/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="cmake gcc83"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
30 mkdir _build &&
31 cd _build &&
32 cmake .. \
33 -D CMAKE_INSTALL_PREFIX=/usr \
34 -D CMAKE_BUILD_TYPE=Release &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_files *.so*
43 }