void-packages/srcpkgs/glu/template

26 lines
737 B
Bash

# Template file for 'glu'
pkgname=glu
version=9.0.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="MesaLib-devel"
short_desc="Mesa OpenGL utility library (GLU)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1"
homepage="http://cgit.freedesktop.org/mesa/glu/"
distfiles="https://mesa.freedesktop.org/archive/glu/glu-${version}.tar.gz"
checksum=f6f484cfcd51e489afe88031afdea1e173aa652697e4c19ddbcb8260579a10f7
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"
}
}