33 lines
848 B
Bash
33 lines
848 B
Bash
# Template file for 'libode'
|
|
pkgname=libode
|
|
version=0.16
|
|
revision=1
|
|
wrksrc="ode-${version}"
|
|
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.eu>"
|
|
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"
|
|
}
|
|
}
|