void-packages/srcpkgs/libdrm/template

36 lines
864 B
Text
Raw Normal View History

# Template build file for 'libdrm'.
pkgname=libdrm
2013-03-28 06:17:44 +00:00
version=2.4.43
revision=2
2013-01-16 19:48:46 +00:00
patch_args="-Np1"
build_style=gnu-configure
2013-03-28 06:17:44 +00:00
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>"
2011-08-12 09:16:33 +00:00
homepage="http://dri.freedesktop.org/"
license="MIT"
2012-06-07 22:36:14 +00:00
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
2013-03-28 06:17:44 +00:00
checksum=7fb8cd89df06e236a66a1a6a9f6d058271c1b1ec92631e08c66dc9e12abd4975
2011-10-30 05:09:00 +00:00
pre_configure() {
2011-08-12 09:16:33 +00:00
autoreconf -fi
2010-10-22 01:30:26 +00:00
}
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 usr
}
}