void-packages/srcpkgs/libdrm/template

33 lines
1,019 B
Text
Raw Normal View History

# Template build file for 'libdrm'.
pkgname=libdrm
2011-10-30 05:09:00 +00:00
version=2.4.27
2011-08-12 09:16:33 +00:00
patch_args="-Np1"
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--enable-udev --enable-vmwgfx-experimental-api
2011-08-12 09:16:33 +00:00
--enable-nouveau-experimental-api --enable-intel --enable-radeon"
revision=1
short_desc="Userspace interface to kernel DRM services"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-08-12 09:16:33 +00:00
homepage="http://dri.freedesktop.org/"
license="MIT"
2011-10-30 05:09:00 +00:00
checksum=ea6b04dd3298e36c7a43aadd5f80f48baeafe4caaabcf78b01dc919c5c757973
long_desc="
This package provides a library which offers a userspace interface
to kernel DRM (Direct Rendering Manager) services for access to
graphics hardware."
subpackages="$pkgname-devel"
Add_dependency run libudev
2011-08-12 09:16:33 +00:00
2010-10-22 01:30:26 +00:00
Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build glibc-devel
Add_dependency build libudev-devel
2011-08-12 09:16:33 +00:00
Add_dependency build libpciaccess-devel
2010-10-22 01:30:26 +00:00
2011-10-30 05:09:00 +00:00
pre_configure() {
2011-08-12 09:16:33 +00:00
autoreconf -fi
sed -i 's/modetest//g' tests/Makefile.in
2010-10-22 01:30:26 +00:00
}