summaryrefslogtreecommitdiffstats
path: root/mesa-demos/Pkgfile
blob: 6ab92ffbeb4120aba4584471aa8d4a4528d23b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Description: Demos pour la bibliothèque graphique 3D Mesa
# URL: http://www.mesa3d.org
# Maintainer: NuTyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: glew
# Run on: glew

name=mesa-demos
version=8.0.1
release=7ba23583-1
#source=(ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$name-$version.tar.bz2)
source=(http://cgit.freedesktop.org/mesa/demos/snapshot/demos-${release%-*}.tar.gz)

build() {
	cd demos-${release%-*}
	NOCONFIGURE=yes ./autogen.sh
	./configure --prefix=/usr \
		--enable-egl \
		--enable-gles1 \
		--enable-gles2 \
		--enable-vg \
		--enable-osmesa \
		--enable-libdrm \
		--enable-x11 \
		--enable-gbm \
		--enable-freetype2
	make
	make DESTDIR=$PKG install
}