New package: libfreeglut-2.8.1

This commit is contained in:
Enno Boland 2014-04-16 09:16:39 +02:00
parent d2d27f8aec
commit 9ccd6ff04c
2 changed files with 28 additions and 0 deletions

1
srcpkgs/libfreeglut-devel Symbolic link
View File

@ -0,0 +1 @@
libfreeglut

View File

@ -0,0 +1,27 @@
# Template file for 'libfreeglut'
pkgname=libfreeglut
version=2.8.1
revision=1
short_desc="alternative to the OpenGL Utility Toolkit library."
homepage="http://freeglut.sourceforge.net/"
license='MIT'
hostmakedepends="libtool"
makedepends='libXxf86vm-devel MesaLib-devel libXi-devel glu-devel'
distfiles="http://downloads.sourceforge.net/freeglut/freeglut-${version}.tar.gz"
build_style=gnu-configure
checksum=dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a
wrksrc="freeglut-$version"
post_install() {
vinstall COPYING 644 "usr/share/licenses/${pkgname}/LICENSE"
}
libfreeglut-devel_package() {
depends="libfreeglut>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}