void-packages/srcpkgs/libdrm/template
2012-02-10 08:25:17 +01:00

30 lines
941 B
Text

# Template build file for 'libdrm'.
pkgname=libdrm
version=2.4.31
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
--enable-nouveau-experimental-api"
short_desc="Userspace interface to kernel DRM services"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://dri.freedesktop.org/"
license="MIT"
checksum=8fc7e0e5b2f9bf493447a4ef7adc49174a700824457774cb53c1b8f2da866af4
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 build automake
Add_dependency build pkg-config
Add_dependency build glibc-devel
Add_dependency build libudev-devel
Add_dependency build libpciaccess-devel
pre_configure() {
autoreconf -fi
sed -i 's/tests//g' Makefile.in
}