]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
mesa: New package.
authorSchantl Stefan <Stevee@ipfire.org>
Thu, 2 Sep 2010 18:50:58 +0000 (20:50 +0200)
committerSchantl Stefan <Stevee@ipfire.org>
Thu, 2 Sep 2010 18:50:58 +0000 (20:50 +0200)
pkgs/core/mesa/mesa.nm [new file with mode: 0644]

diff --git a/pkgs/core/mesa/mesa.nm b/pkgs/core/mesa/mesa.nm
new file mode 100644 (file)
index 0000000..73a5b9f
--- /dev/null
@@ -0,0 +1,67 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = mesa
+PKG_VER        = 7.8.2
+PKG_REL        = 0
+
+PKG_MAINTAINER =
+PKG_GROUP      = Development/Tools
+PKG_URL        = http://www.mesa3d.org
+PKG_LICENSE    = MIT
+PKG_SUMMARY    = Mesa graphics libraries.
+
+PKG_BUILD_DEPS+= pkg-config 
+PKG_DEPS      += libX11 libXcb libXdamage libXext libXxf86vm libdrm
+
+define PKG_DESCRIPTION
+       Mesa libGL runtime libraries and DRI drivers.
+endef
+
+PKG_TARBALL    = MesaLib-$(PKG_VER).tar.bz2
+
+DIR_APP        = $(DIR_SRC)/Mesa-$(PKG_VER)
+
+CONFIGURE_OPTIONS += \
+       --enable-pic \
+       --with-driver=dri \
+       --with-dri-driverdir=/usr/lib/dri \
+       --with-state-tracker=dri,glx \
+       --disable-glw \
+       --disable-glu \
+       --disable-glut \
+       --disable-gl-osmesa \
+       --disable-gallium \
+       --disable-gallium-intel \
+       --disable-gallium-svga \
+       --disable-gallium-radeon \
+       --disable-gallium-nouveau \
+       --disable-egl
+
+# Disable CPU extensions
+define STAGE_CONFIGURE_CMDS
+       cd $(DIR_APP) && sed -e "s/^ASM_FLAGS.*/ASM_FLAGS=/g" -i configs/current
+endef