wok-current annotate ode/receipt @ rev 25520

created recipes for libluv and libluv-dev 1.44.2.1
author Hans-G?nter Theisgen
date Fri Feb 24 15:44:32 2023 +0100 (21 months ago)
parents d7522d21c4d3
children
rev   line source
slaxemulator@7719 1 # SliTaz package receipt.
slaxemulator@7719 2
slaxemulator@7719 3 PACKAGE="ode"
Hans-G?nter@25010 4 VERSION="0.16.2"
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@25010 36 make install DESTDIR=$DESTDIR
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 {
Hans-G?nter@25010 42 cook_copy_files *.so*
slaxemulator@7719 43 }