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=3
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros"
makedepends="libdrm-devel MesaLib-devel xorg-server-devel>=1.15<1.16"
depends="xserver-abi-video-15_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"
}
}