# SliTaz package receipt.

PACKAGE="ode"
VERSION="0.11.1"
CATEGORY="misc"
SHORT_DESC="An open source, high performance library for simulating rigid body dynamics."
MAINTAINER="slaxemulator@gmail.com"
DEPENDS=""
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.ode.org/"
WGET_URL="$SF_MIRROR/opende/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		--enable-shared \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}