summaryrefslogtreecommitdiff
path: root/extra/ode/PKGBUILD
blob: 1723113e8170540dec321e74e7dfb3e4623bf7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 141650 2011-11-01 10:06:18Z pierre $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>

pkgname=ode
pkgver=0.11.1
pkgrel=2
pkgdesc="An open source, high performance library for simulating rigid body dynamics"
arch=('i686' 'x86_64' 'mips64el')
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=('712579afabc2a15aa56e399f76171477')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
              --enable-shared
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=${pkgdir}/ install

  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/ou/LICENSE-BSD.TXT \
    ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-BSD.TXT
}