34 lines
852 B
Bash
34 lines
852 B
Bash
# Template build file for 'libode'
|
|
pkgname=libode
|
|
version=0.15.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
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=2eaebb9f8b7642815e46227956ca223806f666acd11e31708bd030028cf72bac
|
|
wrksrc="ode-$version"
|
|
configure_args="--disable-static --enable-shared --enable-double-precision"
|
|
|
|
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"
|
|
}
|
|
}
|