void-packages/srcpkgs/glu/template
jbu 9b451b19c6 lua*: convert for xbps-alternatives
First try to make use of the xbps-alternatives for the three versions
of lua we have now. As an example how this simplifies packages the
xmoto package patches for detecting lua52 were removed.

Also revbump or update the packages depending on lua53 to cope
for the soname change (liblua.so.5.3 to liblua5.3.so.5.3)
+ imapfilter (rev 3)
+ vim (rev 2)
+ mame (rev 2)
+ xmoto (rev 6)
+ glu (rev 6) - rebuild for musl
2015-11-10 19:26:31 +01:00

25 lines
717 B
Bash

# Template file for 'glu'
pkgname=glu
version=9.0.0
revision=6
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"
}
}