void-packages/srcpkgs/glu/template

27 lines
736 B
Bash

# Template file for 'glu'
pkgname=glu
version=9.0.0
revision=8
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="MesaLib-devel"
short_desc="Mesa OpenGL utility library (GLU)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://cgit.freedesktop.org/mesa/glu/"
distfiles="https://mesa.freedesktop.org/archive/glu/glu-${version}.tar.gz"
checksum=4387476a1933f36fec1531178ea204057bbeb04cc2d8396c9ea32720a1f7e264
replaces="libGLU<9.0"
patch_args="-Np1"
glu-devel_package() {
depends="MesaLib-devel>=9.0 glu>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}