wok view ode/receipt @ rev 23976

net-snmp: do not install darwin?.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 31 15:07:33 2020 +0000 (2020-10-31)
parents 9320d368d08a
children d7522d21c4d3
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 CC=gcc-83 \
22 CXX=g++-83 \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --enable-shared \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }