New package: libfreeglut-2.8.1
This commit is contained in:
parent
d2d27f8aec
commit
9ccd6ff04c
|
@ -0,0 +1 @@
|
||||||
|
libfreeglut
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue