wok view libspatialindex/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 28e3408ee722
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libspatialindex"
4 VERSION="1.8.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Easy importation of spatial data as well as AutoRegressive models"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL2"
9 SOURCE="spatialindex-src"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://libspatialindex.github.io/"
12 WGET_URL="http://download.osgeo.org/libspatialindex/$TARBALL"
13 HOST_ARCH="i486"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }