36 lines
864 B
Plaintext
36 lines
864 B
Plaintext
# Template build file for 'libdrm'.
|
|
pkgname=libdrm
|
|
version=2.4.44
|
|
revision=1
|
|
patch_args="-Np1"
|
|
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=42b45ad15bb1bc52630a4b37b7afcfaea27e01b3c0b4791ef25d0f7b2456f6a2
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libdrm-devel_package() {
|
|
depends="libudev-devel ${sourcepkg}-${version}_${revision}"
|
|
short_desc="${short_desc} -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
#vmove usr/share/man/man3
|
|
}
|
|
}
|
|
|
|
libdrm_package() {
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|