PKGBUILDs/extra/ode/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
818 B
Bash

# $Id: PKGBUILD 26175 2009-02-03 18:35:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
pkgname=ode
pkgver=0.11
pkgrel=1
pkgdesc="An open source, high performance library for simulating rigid body dynamics"
arch=('i686' 'x86_64')
url="http://www.ode.org"
license=('LGPL' 'BSD')
depends=('gcc-libs' 'bash')
source=(http://downloads.sourceforge.net/sourceforge/opende/${pkgname}-${pkgver}.tar.bz2)
options=('!libtool')
md5sums=('ce59bf1e2ea78d92f08e973a99c3069a')
build() {
cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr --enable-shared
make || return 1
make DESTDIR=$pkgdir/ install
install -Dm0644 $srcdir/${pkgname}-${pkgver}/ou/LICENSE-BSD.TXT \
$pkgdir/usr/share/licenses/${pkgname}/LICENSE-BSD.TXT
}