From 1fa6afb7311322fa5c2b9c22a9a37c810a2b3418 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 18 Dec 2010 23:16:03 +0100 Subject: Import automatique des recettes de Crux. (git://crux.nu/ports/xorg.git - branche 2.7) --- mesa3d/Pkgfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mesa3d/Pkgfile (limited to 'mesa3d/Pkgfile') 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 +} -- cgit v1.2.3-70-g09d2