wok view geos/receipt @ rev 25726

renamed xfce4-ristretto to ristretto
author Hans-G?nter Theisgen
date Sat Aug 17 17:30:48 2024 +0100 (2 months ago)
parents 633a990fb38c
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 "/beta/d;/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 }