void-packages/srcpkgs/glamor-egl/template

31 lines
829 B
Plaintext

# Template build file for 'glamor-egl'.
pkgname=glamor-egl
version=0.6.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros"
makedepends="libdrm-devel MesaLib-devel xorg-server-devel>=1.14<1.15"
depends="xserver-abi-video-14_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"
}
}