void-packages/srcpkgs/glu/template

25 lines
717 B
Bash

# Template file for 'glu'
pkgname=glu
version=9.0.0
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="MesaLib-devel"
replaces="libGLU<9.0"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
short_desc="Mesa OpenGL utility library (GLU)"
homepage="http://cgit.freedesktop.org/mesa/glu/"
distfiles="ftp://ftp.freedesktop.org/pub/mesa/glu/glu-${version}.tar.bz2"
checksum=1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12
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"
}
}