1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Marco Maso <demind@gmail.com>
3 # Contributor: Ian Taylor <ian@lorf.org>
9 pkgdesc="Provides functionality for small OpenGL programs. Multilib."
11 url="http://freeglut.sourceforge.net/"
12 license=('custom:MIT')
13 depends=("$_name" 'lib32-mesa' 'lib32-libxi' 'lib32-libxrandr')
14 makedepends=('gcc-multilib')
16 source=("http://downloads.sourceforge.net/freeglut/$_name-$pkgver.tar.gz")
17 md5sums=('5db8651af306bc403fbfd36934a20e1d')
20 cd "$srcdir/$_name-$pkgver"
23 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
25 ./configure --prefix=/usr \
32 cd "$srcdir/$_name-$pkgver"
34 make DESTDIR="$pkgdir/" install
36 # rm unneeded header files
37 rm -rf "$pkgdir/usr/include"
40 install -Dm644 COPYING \
41 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"