void-packages/srcpkgs/libdrm/template

37 lines
900 B
Plaintext
Raw Normal View History

# Template build file for 'libdrm'.
pkgname=libdrm
2013-11-23 07:14:49 +01:00
version=2.4.49
2013-04-19 21:29:53 +02:00
revision=1
build_style=gnu-configure
2013-03-28 07:17:44 +01: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 11:16:33 +02:00
homepage="http://dri.freedesktop.org/"
license="MIT"
2012-06-08 00:36:14 +02:00
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
2013-11-23 07:14:49 +01:00
checksum=25d7d3fd30d8c350d3b87b3048f1c0cf0be295a40197a49acc374d4f4ae97a7d
2011-10-30 06:09:00 +01:00
pre_configure() {
2013-10-12 08:29:46 +02:00
sed -e '/pthread-stubs/d' -i configure.ac
2011-08-12 11:16:33 +02:00
autoreconf -fi
2010-10-22 03:30:26 +02:00
}
libdrm-devel_package() {
2013-11-17 05:58:23 +01:00
depends="libudev-devel ${sourcepkg}>=${version}_${revision}"
2013-05-15 22:11:18 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-03 01:29:17 +02:00
vmove "usr/lib/*.so"
#vmove usr/share/man/man3
}
}
libdrm_package() {
pkg_install() {
2013-04-19 21:29:53 +02:00
vmove all
}
}