void-packages/srcpkgs/celestia-glut/template
grauehaare 71878a5b54 Updated: shlibs, gtkglext (removed deprecated things)
New Packages: celestia-glut, celestia-gtk (open universe simulation)
2014-04-30 21:35:27 +02:00

19 lines
815 B
Text

# Template file for 'celestia-glut'
pkgname=celestia-glut
version=1.6.1
revision=1
short_desc="free space simulation using GLUT"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="http://www.shatters.net/celestia/"
distfiles="${SOURCEFORGE_SITE}/celestia/celestia-${version}.tar.gz"
checksum="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4"
build_style=gnu-configure
configure_args="--with-glut --with-lua --enable-theora --disable-static"
hostmakedepends="pkg-config"
makedepends="gtkglext-devel zlib-devel lua51-devel glu-devel libfreeglut-devel libjpeg-turbo-devel libpng-devel libtheora-devel pangox-compat-devel"
wrksrc=celestia-${version}
do_build() {
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="-lpng -ljpeg -llua5.1 -lglut -lGLU -lGL -logg -ltheora -lz -ldl -pthread"
}