void-packages/srcpkgs/libode/template

27 lines
832 B
Bash

# Template build file for 'libode'
pkgname=libode
# Do not update to 0.13 as it breaks xmoto
# see: http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=809
version=0.12
revision=1
build_style=gnu-configure
short_desc="high performance library for simulating rigid body dynamics"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL/BSD"
homepage="http://www.ode.org"
distfiles="${SOURCEFORGE_SITE}/opende/ODE/$version/ode-$version.tar.bz2"
checksum=65c5315a42c725d2da01ea2c1b045583d54e0d1a95e3f7c062e5ba3769f5c350
wrksrc="ode-$version"
configure_args="--disable-static --enable-shared --enable-double-precision"
libode-devel_package() {
depends="libode>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/bin"
}
}