wok annotate geos/receipt @ rev 25064
openvas-libraries, openvas-client: update gnutls calls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 08 16:46:37 2022 +0000 (2022-06-08) |
parents | af8d823a3077 |
children | a5e183d53960 |
rev | line source |
---|---|
erjo@11629 | 1 # SliTaz package receipt. |
erjo@11629 | 2 |
erjo@11629 | 3 PACKAGE="geos" |
Hans-G?nter@24593 | 4 VERSION="3.10.2" |
erjo@11629 | 5 CATEGORY="misc" |
erjo@11629 | 6 SHORT_DESC="Geometry Engine, Open Source." |
erjo@11629 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@24593 | 9 WEB_SITE="https://libgeos.org/" |
Hans-G?nter@22821 | 10 |
erjo@11629 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@11629 | 12 WGET_URL="http://download.osgeo.org/geos/$TARBALL" |
erjo@11629 | 13 |
Hans-G?nter@22821 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@24593 | 15 BUILD_DEPENDS="cmake gcc83" |
erjo@11629 | 16 |
pascal@24445 | 17 # What is the latest version available today? |
pascal@24445 | 18 current_version() |
pascal@24445 | 19 { |
pascal@24445 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 22 } |
pascal@24445 | 23 |
erjo@11629 | 24 # Rules to configure and make the package. |
erjo@11629 | 25 compile_rules() |
erjo@11629 | 26 { |
Hans-G?nter@24593 | 27 export CC=gcc-83 |
Hans-G?nter@24593 | 28 export CXX=g++-83 |
Hans-G?nter@24593 | 29 |
Hans-G?nter@24593 | 30 mkdir _build && |
Hans-G?nter@24593 | 31 cd _build && |
Hans-G?nter@24593 | 32 cmake .. \ |
Hans-G?nter@24593 | 33 -D CMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@24593 | 34 -D CMAKE_BUILD_TYPE=Release && |
Hans-G?nter@22821 | 35 make && |
Hans-G?nter@22821 | 36 make install |
erjo@11629 | 37 } |
erjo@11629 | 38 |
erjo@11629 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11629 | 40 genpkg_rules() |
erjo@11629 | 41 { |
Hans-G?nter@24593 | 42 cook_copy_files *.so* |
erjo@11629 | 43 } |