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