28 lines
791 B
Bash
28 lines
791 B
Bash
# Template file for 'libfreeglut'
|
|
pkgname=libfreeglut
|
|
version=3.0.0
|
|
revision=2
|
|
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="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://freeglut.sourceforge.net/"
|
|
license="MIT"
|
|
distfiles="${SOURCEFORGE_SITE}/freeglut/freeglut-${version}.tar.gz"
|
|
checksum=2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2
|
|
|
|
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
|
|
}
|
|
}
|