28 lines
785 B
Bash
28 lines
785 B
Bash
|
# 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"
|
||
|
}
|
||
|
}
|