void-packages/srcpkgs/libdrm/template

28 lines
975 B
Text
Raw Normal View History

# Template build file for 'libdrm'.
pkgname=libdrm
2012-06-30 16:17:06 +00:00
version=2.4.37
2012-06-07 22:36:14 +00:00
revision=1
build_style=gnu-configure
2012-05-11 02:00:46 +00:00
configure_args="--enable-udev --enable-vmwgfx-experimental-api"
2012-06-28 07:52:17 +00:00
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>"
2011-08-12 09:16:33 +00:00
homepage="http://dri.freedesktop.org/"
license="MIT"
2012-06-07 22:36:14 +00:00
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
2012-06-30 16:17:06 +00:00
checksum=e4ea39a901d4a8e59064f10f413bb037dad7790f7c16a5986e7cc1453b36488f
long_desc="
This package provides a library which offers a userspace interface
to kernel DRM (Direct Rendering Manager) services for access to
graphics hardware."
2011-10-30 05:09:00 +00:00
pre_configure() {
2012-03-17 06:53:16 +00:00
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
2011-08-12 09:16:33 +00:00
autoreconf -fi
2011-12-05 16:42:21 +00:00
sed -i 's/tests//g' Makefile.in
2010-10-22 01:30:26 +00:00
}