summaryrefslogtreecommitdiffstats
path: root/mesa3d/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-18 23:16:03 +0100
committerLukc <lukc@upyum.com>2010-12-18 23:16:03 +0100
commit1fa6afb7311322fa5c2b9c22a9a37c810a2b3418 (patch)
tree5b5f63901a4d7337f2abea8c90daae0330c93a0b /mesa3d/Pkgfile
downloadxorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.tar.gz
xorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.tar.bz2
xorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.tar.xz
xorg-1fa6afb7311322fa5c2b9c22a9a37c810a2b3418.zip
Import automatique des recettes de Crux. (git://crux.nu/ports/xorg.git - branche 2.7)HEADmaster
Diffstat (limited to 'mesa3d/Pkgfile')
-rw-r--r--mesa3d/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/mesa3d/Pkgfile b/mesa3d/Pkgfile
new file mode 100644
index 0000000..96f2082
--- /dev/null
+++ b/mesa3d/Pkgfile
@@ -0,0 +1,21 @@
+description="Mesa 3D Graphics Library"
+packager=""
+maintainer="Tilman Sauerbeck, tilman at crux dot nu"
+url="http://www.mesa3d.org"
+depends=(libdrm xorg-makedepend xorg-glproto xorg-xextproto xorg-dri2proto xorg-libx11 xorg-xf86vidmodeproto xorg-libxext xorg-libxxf86vm xorg-libxt xorg-libxdamage expat)
+
+name=mesa3d
+version=7.8.2
+release=1
+source=(ftp://ftp.freedesktop.org/pub/mesa/7.8.2/MesaLib-7.8.2.tar.bz2 Makefile glxgears.c glxinfo.c)
+build ()
+{
+ cd Mesa-$version;
+ mkdir -p progs/xdemos;
+ mv $SRC/{Makefile,glx{gears,info}.c} progs/xdemos;
+ ./configure --prefix=/usr --with-demos=xdemos --with-driver=dri --with-dri-driverdir=/usr/lib/dri;
+ make;
+ make DESTDIR=$PKG install;
+ install -d $PKG/usr/bin;
+ install -m 755 progs/xdemos/glx{gears,info} $PKG/usr/bin
+}