void-packages/srcpkgs/libdrm/template

28 lines
898 B
Plaintext

# Template build file for 'libdrm'.
pkgname=libdrm
version=2.4.23
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>"
checksum=c0f06d68c3edba7a1ad937f5481a8c287efd4cd368cee66cd9e678b06a911c18
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 build automake
Add_dependency build pkg-config
Add_dependency build glibc-devel
Add_dependency build libudev-devel
pre_configure()
{
cd ${wrksrc} && libtoolize -f && aclocal && autoconf && automake
}