31 lines
846 B
Plaintext
31 lines
846 B
Plaintext
# Template build file for 'libdrm'.
|
|
pkgname=libdrm
|
|
version=2.4.53
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-udev"
|
|
hostmakedepends="libtool automake pkg-config"
|
|
makedepends="libudev-devel libpciaccess-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=1b0c28fd2f2b92d2df0a73d1aed88f43cb0dee1267aea6bc52ccb5fca5757a08
|
|
|
|
pre_configure() {
|
|
sed -e '/pthread-stubs/d' -i configure.ac
|
|
autoreconf -fi
|
|
}
|
|
|
|
libdrm-devel_package() {
|
|
depends="libudev-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
#vmove usr/share/man/man3
|
|
}
|
|
}
|