void-packages/srcpkgs/glamor-egl/template

30 lines
829 B
Text

# Template build file for 'glamor-egl'.
pkgname=glamor-egl
version=0.6.0
revision=4
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros"
makedepends="libdrm-devel MesaLib-devel xorg-server-devel>=1.16<1.17"
depends="xserver-abi-video-18_1"
short_desc="OpenGL based 2D rendering acceleration library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/Glamor/"
license="MIT"
do_fetch() {
git clone -b ${pkgname}-${version} git://anongit.freedesktop.org/xorg/driver/glamor ${pkgname}-${version}
}
pre_configure() {
autoreconf -fi
}
glamor-egl-devel_package() {
short_desc+=" - development files"
depends="MesaLib-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}