void-packages/srcpkgs/libdrm/template

34 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template build file for 'libdrm'.
pkgname=libdrm
2012-03-17 07:53:16 +01:00
version=2.4.32
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--enable-udev --enable-vmwgfx-experimental-api
2011-12-05 17:42:21 +01:00
--enable-nouveau-experimental-api"
short_desc="Userspace interface to kernel DRM services"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-08-12 11:16:33 +02:00
homepage="http://dri.freedesktop.org/"
license="MIT"
2012-03-17 07:53:16 +01:00
checksum=9ba8a1613de57af8f501a162747ed69aff30d63fc1316602770974bdd9ee984e
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"
2011-08-12 11:16:33 +02:00
2010-10-22 03:30:26 +02:00
Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build glibc-devel
Add_dependency build libudev-devel
2011-08-12 11:16:33 +02:00
Add_dependency build libpciaccess-devel
2010-10-22 03:30:26 +02:00
2011-10-30 06:09:00 +01:00
pre_configure() {
2012-03-17 07:53:16 +01: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 11:16:33 +02:00
autoreconf -fi
2011-12-05 17:42:21 +01:00
sed -i 's/tests//g' Makefile.in
2010-10-22 03:30:26 +02:00
}