void-packages/srcpkgs/libdrm/template

29 lines
962 B
Text
Raw Normal View History

# Template build file for 'libdrm'.
pkgname=libdrm
2011-04-11 12:45:03 +00:00
version=2.4.25
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>"
2011-04-11 12:45:03 +00:00
checksum=51f99a815a18876977991bbc6f190607791d25a6e47a3269880ce7679dbd0e9f
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
2010-10-22 01:30:26 +00:00
Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build glibc-devel
Add_dependency build libudev-devel
2010-10-22 01:30:26 +00:00
pre_configure()
{
sed -i -e "s|cairo.h|cairo/cairo.h|" tests/modetest/modetest.c
2011-01-09 14:43:13 +00:00
cd ${wrksrc} && libtoolize -f && aclocal && autoconf && automake
2010-10-22 01:30:26 +00:00
}