wok-current view ode/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents 23c3aed67cd9
children 5e00d55089d7
line source
1 # SliTaz package receipt.
3 PACKAGE="ode"
4 VERSION="0.16"
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=""
15 BUILD_DEPENDS="gcc83 libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --enable-shared \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }