void-packages/srcpkgs/libdrm/template

30 lines
821 B
Bash
Raw Normal View History

# Template build file for 'libdrm'.
pkgname=libdrm
2015-03-20 08:09:53 +00:00
version=2.4.60
2013-04-19 19:29:53 +00:00
revision=1
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@voidlinux.eu>"
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"
2015-03-20 08:09:53 +00:00
checksum=99575fc6c8e31f59193f5320fd4db7a5478e2641b5266147caab9aa875b59889
2011-10-30 05:09:00 +00:00
pre_configure() {
2013-10-12 06:29:46 +00:00
sed -e '/pthread-stubs/d' -i configure.ac
2011-08-12 09:16:33 +00:00
autoreconf -fi
2010-10-22 01:30:26 +00:00
}
libdrm-devel_package() {
2015-03-20 08:09:53 +00:00
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
2013-05-15 20:11:18 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-02 23:29:17 +00:00
vmove "usr/lib/*.so"
}
}