2014-04-22 19:21:53 +00:00
|
|
|
# Template build file for 'libode'
|
|
|
|
pkgname=libode
|
2014-04-22 20:18:46 +00:00
|
|
|
# Do not update to 0.13 as it breaks xmoto
|
|
|
|
# see: http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=809
|
2014-04-22 19:21:53 +00:00
|
|
|
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="http://downloads.sourceforge.net/project/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"
|
|
|
|
}
|
|
|
|
}
|