updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nurbs++ / PKGBUILD~
blobd532bcbdf10e20d9411c6abee9e72626a20f4a35
1 # $Id: PKGBUILD,v 1.3 2003/11/06 08:27:10 dorphell Exp $
2 # Maintainer: lanxu <jukka.lankinen@gmail.com>
4 pkgname=nurbs++
5 pkgver=3.0.11
6 pkgrel=3
7 pkgdesc="The NURBS++ package includes a matrix library, an image manipulation library, a numerical library and a NURBS library."
8 source=(http://downloads.sourceforge.net/libnurbs/nurbs%2B%2B-3.0.11.tar.gz libnurbs.patch fixGL.patch)
9 md5sums=('b35a955c5520a60f87efd41a453446ba'
10          '9b9ffaa1288f630a05837a4262f62933'
11          'ef2013fe2961d3752aadff52cf87ecbe')
12 arch=('i686' 'x86_64')
13 license=('LGPL')
14 url="http://libnurbs.sourceforge.net/"
16 build() {
17         cd $startdir/src/$pkgname-$pkgver
18         patch -p1 -i $srcdir/libnurbs.patch
19         patch -p1 -i $srcdir/fixGL.patch
20         
21         ./configure --with-opengl --prefix=/usr
22         make || return 1
23         make prefix=$startdir/pkg/usr install