updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / coin / PKGBUILD
blob4a0256c0f85492aab16b55937d5e713e19060421
1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: mickele
4 # Contributor: marcus fritzsch <fritschy@googlemail.com>
6 pkgname=coin
7 pkgver=3.1.3
8 pkgrel=6
9 pkgdesc='Coin3D is a high-level 3D graphics toolkit on top of OpenGL.'
10 url='http://www.coin3d.org/'
11 license=('GPL')
12 arch=('i686' 'x86_64')
13 depends=('mesa' 'expat')
14 makedepends=('doxygen')
15 optdepends=('openal: sound/dynamic linking support'
16             'fontconfig: dynamic linking support'
17             'zlib: dynamic linking support'
18             'freetype2: dynamic linking support'
19             'js: dynamic linking support'
20             'simage: image format support')
21 options=('!libtool')
22 source=("http://ftp.coin3d.org/coin/src/all/Coin-${pkgver}.tar.gz")
24 build() {
25   cd Coin-${pkgver}
27   ./configure \
28     --prefix=/usr \
29     --mandir=/usr/share/man \
30     --enable-optimization \
31     --enable-3ds-import \
32     --enable-javascript-api \
33     --enable-threadsafe \
34     --enable-exceptions \
35     --enable-man \
36     --with-mesa \
37     --disable-debug \
38     --enable-shared \
39     --disable-maintainer-mode \
40     --disable-dependency-tracking \
41     --enable-system-expat
43   make
46 package() {
47   cd Coin-${pkgver}
49   make DESTDIR=${pkgdir} install
51   # final adjustments
52   for _FILE in threads deprecated ; do
53     mv  "${pkgdir}/usr/share/man/man3/${_FILE}.3" "${pkgdir}/usr/share/man/man3/coin-${_FILE}.3"
54   done
56 md5sums=('1538682f8d92cdf03e845c786879fbea')