summaryrefslogtreecommitdiffstats
path: root/freeglut/Pkgfile
blob: 778494b80b604e5b5e9580d84d15e1b61a4b1c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Fournit des fonctionalités a de petit programmes en OpenGL
# URL: http://freeglut.sourceforge.net/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: mesa3d, xorg-libxi
# Run on: mesa3d

name=freeglut
version=2.6.0
release=1
source=(http://downloads.sourceforge.net/freeglut//$name-$version.tar.gz)
#        http://nutyx.meticul.eu/files/patchs/$name/glut-cursor-inherit.patch)
build() {
        cd $name-$version
#	patch -Np1 -i ../glut-cursor-inherit.patch
#	sed -i 's/-Werror//' configure
	 ./configure --prefix=/usr
	make all
	make DESTDIR=$PKG install
	install -m755 -d $PKG/usr/share/licenses/$name
	install -m644 COPYING $PKG/usr/share/licenses/$name/  
}