wok-6.x annotate ode/receipt @ rev 24953

updated nagvis and nagvis-doc (1.9.18 -> 1.9.31)
author Hans-G?nter Theisgen
date Sat Apr 23 15:05:31 2022 +0100 (2022-04-23)
parents 5e00d55089d7
children 11d19e4dd71e
rev   line source
slaxemulator@7719 1 # SliTaz package receipt.
slaxemulator@7719 2
slaxemulator@7719 3 PACKAGE="ode"
Hans-G?nter@23258 4 VERSION="0.16.1"
slaxemulator@7719 5 CATEGORY="misc"
slaxemulator@7719 6 SHORT_DESC="An open source, high performance library for simulating rigid body dynamics."
slaxemulator@7719 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15601 8 LICENSE="LGPL2.1 BSD"
Hans-G?nter@21603 9 WEB_SITE="https://www.ode.org/"
Hans-G?nter@21603 10
Hans-G?nter@21603 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21603 12 WGET_URL="https://bitbucket.org/odedevs/$PACKAGE/downloads/$TARBALL"
Hans-G?nter@21603 13
Hans-G?nter@23258 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@21603 15 BUILD_DEPENDS="gcc83 libtool"
slaxemulator@7719 16
pascal@24500 17 # What is the latest version available today?
pascal@24500 18 current_version()
pascal@24500 19 {
pascal@24500 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24500 21 sed '/ode-[0-9]/!d;s|.*/ode-||;s|.tar.*||;q'
pascal@24500 22 }
pascal@24500 23
slaxemulator@7719 24 # Rules to configure and make the package.
slaxemulator@7719 25 compile_rules()
slaxemulator@7719 26 {
Hans-G?nter@21603 27 ./configure \
Hans-G?nter@23258 28 CC=gcc-83 \
Hans-G?nter@23258 29 CXX=g++-83 \
Hans-G?nter@21603 30 --prefix=/usr \
Hans-G?nter@21603 31 --infodir=/usr/share/info \
Hans-G?nter@21603 32 --mandir=/usr/share/man \
Hans-G?nter@21603 33 --enable-shared \
slaxemulator@7719 34 $CONFIGURE_ARGS &&
Hans-G?nter@21603 35 make &&
Hans-G?nter@21603 36 make DESTDIR=$DESTDIR install
slaxemulator@7719 37 }
slaxemulator@7719 38
slaxemulator@7719 39 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7719 40 genpkg_rules()
slaxemulator@7719 41 {
slaxemulator@7719 42 mkdir -p $fs/usr/lib
Hans-G?nter@23258 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@7719 44 }