void-packages/srcpkgs/glu/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

25 lines
714 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@gmail.com>"
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"
}
}