void-packages/srcpkgs/glu/template
2021-11-05 01:44:39 +01:00

25 lines
722 B
Bash

# Template file for 'glu'
pkgname=glu
version=9.0.2
revision=2
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.gz"
checksum=24effdfb952453cc00e275e1c82ca9787506aba0282145fff054498e60e19a65
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"
}
}