void-packages/srcpkgs/libfreeglut/template

31 lines
804 B
Bash

# Template file for 'libfreeglut'
pkgname=libfreeglut
version=3.2.2
revision=1
build_style=cmake
makedepends='libXxf86vm-devel MesaLib-devel libXi-devel glu-devel'
short_desc="Open source implementation of the OpenGL Utility Toolkit library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://freeglut.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
checksum=c5944a082df0bba96b5756dddb1f75d0cd72ce27b5395c6c1dde85c2ff297a50
CFLAGS="-fcommon"
post_install() {
vlicense COPYING
}
libfreeglut-devel_package() {
depends="${makedepends} libfreeglut>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}