void-packages/srcpkgs/libode/template

25 lines
734 B
Bash

# Template build file for 'libode'
pkgname=libode
version=0.13.1
revision=1
build_style=gnu-configure
short_desc="High performance library for simulating rigid body dynamics"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2/BSD"
homepage="http://www.ode.org"
distfiles="https://bitbucket.org/odedevs/ode/downloads/ode-$version.tar.gz"
checksum=35e55e05c6c6ebb813a546017285a7aceedb3e8e55c8ff102e80e26bd84c5658
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"
}
}