wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ode"
4 VERSION="0.16.2"
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 install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_files *.so*
43 }