void-packages/srcpkgs/libdrm/template

34 lines
1023 B
Plaintext

# Template build file for 'libdrm'.
pkgname=libdrm
version=2.4.26
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 --enable-intel --enable-radeon"
short_desc="Userspace interface to kernel DRM services"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://dri.freedesktop.org/"
license="MIT"
checksum=b25b06ab5a077736044cbd9a3a05a9a23b873a0887ab1aaf93aa2b3218b2d3dc
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 glibc
Add_dependency run libudev
Add_dependency run libpciaccess
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
}