void-packages/srcpkgs/libfreeglut/template
2019-11-11 07:14:34 +01:00

29 lines
814 B
Bash

# Template file for 'libfreeglut'
pkgname=libfreeglut
version=3.2.1
revision=1
wrksrc="freeglut-${version}"
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=d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68
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
}
}