SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libspatialindex"

# SliTaz package receipt.

PACKAGE="libspatialindex"
VERSION="1.8.5"
CATEGORY="system-tools"
SHORT_DESC="Easy importation of spatial data as well as AutoRegressive models"
MAINTAINER="pankso@slitaz.org"
LICENSE="MPL2"
SOURCE="spatialindex-src"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="https://libspatialindex.github.io/"
WGET_URL="http://download.osgeo.org/libspatialindex/$TARBALL"
HOST_ARCH="i486"

DEPENDS=""
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make && make install
}

# 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
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)