void-packages/srcpkgs/libode/template

33 lines
825 B
Bash

# Template file for 'libode'
pkgname=libode
version=0.16
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-shared --enable-double-precision"
hostmakedepends="automake libtool"
short_desc="High performance library for simulating rigid body dynamics"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2/BSD"
homepage="http://www.ode.org"
distfiles="https://bitbucket.org/odedevs/ode/downloads/ode-${version}.tar.gz"
checksum=4ba3b76f9c1314160de483b3db92b0569242a07452cbb25b368e75deb3cabf27
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE-BSD.TXT
}
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"
}
}