void-packages/srcpkgs/libdrm/template
2012-08-25 06:55:27 +02:00

27 lines
975 B
Text

# Template build file for 'libdrm'.
pkgname=libdrm
version=2.4.39
revision=1
build_style=gnu-configure
configure_args="--enable-udev --enable-vmwgfx-experimental-api"
makedepends="automake pkg-config libudev-devel libpciaccess-devel"
subpackages="$pkgname-devel"
short_desc="Userspace interface to kernel DRM services"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://dri.freedesktop.org/"
license="MIT"
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
checksum=386b17388980504bca16ede81ceed4c77b12c3488f46ecb7f4d48e48512a733d
long_desc="
This package provides a library which offers a userspace interface
to kernel DRM (Direct Rendering Manager) services for access to
graphics hardware."
pre_configure() {
sed -i "/.*PTHREADSTUBS.*/d" configure.ac
sed -i -e "s/@PTHREADSTUBS_LIBS@//g" \
-e "s/\$(PTHREADSTUBS_CFLAGS)//g" \
nouveau/Makefile.am radeon/Makefile.am intel/Makefile.am
autoreconf -fi
sed -i 's/tests//g' Makefile.in
}