void-packages/srcpkgs/glu/template

26 lines
722 B
Bash

# Template file for 'glu'
pkgname=glu
version=9.0.3
revision=1
build_style=meson
configure_args="-Ddefault_library=shared"
hostmakedepends="pkg-config"
makedepends="MesaLib-devel"
short_desc="Mesa OpenGL utility library (GLU)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="SGI-B-2.0"
homepage="https://gitlab.freedesktop.org/mesa/glu"
distfiles="https://mesa.freedesktop.org/archive/glu/glu-${version}.tar.xz"
checksum=bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f
replaces="libGLU<9.0"
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"
}
}