Skip to content

Instantly share code, notes, and snippets.

Created September 19, 2013 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6625235 to your computer and use it in GitHub Desktop.
Save anonymous/6625235 to your computer and use it in GitHub Desktop.
Pkgfile
# Description: Mesa 3D Graphics Library
# URL: http://www.mesa3d.org
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
# Depends on: libdrm, xorg-makedepend, xorg-glproto, xorg-xextproto, xorg-dri2proto, xorg-libx11, xorg-xf86vidmodeproto, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage, xorg-libpciaccess, expat, talloc, libxml2-python
name=mesa3d
version=9.2.0
release=1
source=(ftp://ftp.freedesktop.org/pub/mesa/9.2/MesaLib-$version.tar.bz2)
build() {
cd Mesa-$version
autoreconf --install --symlink
./configure --prefix=/usr \
--enable-gbm --enable-glx-tls --with-llvm-shared-libs \
--with-dri-drivers=i915,i965,r200,radeon,swrast,nouveau \
--with-gallium-drivers=i915,r600,svga,nouveau,radeonsi
make
make DESTDIR=$PKG install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment