SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ode"

# SliTaz package receipt.

PACKAGE="ode"
VERSION="0.16.2"
CATEGORY="misc"
SHORT_DESC="An open source, high performance library for simulating rigid body dynamics."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="LGPL2.1 BSD"
WEB_SITE="https://www.ode.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://bitbucket.org/odedevs/$PACKAGE/downloads/$TARBALL"

DEPENDS="gcc83-lib-base"
BUILD_DEPENDS="gcc83 libtool"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        CC=gcc-83            \
        CXX=g++-83            \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        --enable-shared            \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)