30 lines
857 B
Bash
30 lines
857 B
Bash
# Template build file for 'libdrm'.
|
|
pkgname=libdrm
|
|
version=2.4.63
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-udev --disable-valgrind"
|
|
hostmakedepends="libtool automake pkg-config xorg-util-macros"
|
|
makedepends="libudev-devel libpciaccess-devel"
|
|
short_desc="Userspace interface to kernel DRM services"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://dri.freedesktop.org/"
|
|
license="MIT"
|
|
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
|
checksum=c7ae43520a9c74ee168a3393c7a6d138342e04d9f821f46c0589547c92a3e79e
|
|
|
|
pre_configure() {
|
|
sed -e '/pthread-stubs/d' -i configure.ac
|
|
autoreconf -fi
|
|
}
|
|
|
|
libdrm-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|