updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / openvrml / PKGBUILD
bloba0b884524fea5f0717369aa0b916ebbbf6b1ad39
1 # Maintainer: Antonio Bonifati - ant at venus deis unical it
2 # Contributor: Eric Belanger <belanger@astro.umontreal.ca>
3 # $Id$
5 pkgname=openvrml
6 pkgver=0.17.10
7 pkgrel=2
8 pkgdesc="A program and library to read and display VRML97 and X3D files."
9 arch=('i386' 'x86_64')
10 url="http://www.openvrml.org/"
11 license=('LGPL3')
12 depends=('boost' 'curl' 'libgnomeui' 'mesa')
13 options=(!libtool)
14 source=(http://downloads.sourceforge.net/openvrml/$pkgname-$pkgver.tar.gz)
15 md5sums=('0f342cd1d78bfc7c12e4cebd0909e159')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   ./configure --prefix=/usr --disable-mozilla-plugin \
20     --disable-script-node-javascript BOOST_LIB_SUFFIX=-mt
21   make || return 1
22   make DESTDIR="$pkgdir/" install
24   mv "$pkgdir/usr/include/openvrml/openvrml/"* "$pkgdir/usr/include/openvrml"
25   rmdir "$pkgdir/usr/include/openvrml/openvrml"
26   rm -rf "$pkgdir/usr/lib/mozilla"