#Packager: Maximus (maximuus[at]gmail[dot]com)

pkgname=SimGear
pkgver=2.0.0
pkgrel=1mb
source=(ftp://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver/
docs=("readme" "readme.msvc" "readme.openal" "readme.osg" "readme.plib" "readme.zlib" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.simgear.org/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"SimGear (A set of libraries for quickly assembling 3d simulations)"
"SimGear is a set of open-source libraries designed to be used as"
"building blocks for quickly assembling 3d simulations, games, and"
"visualization applications."
"SimGear is a relatively new project, and while quite a bit of code has"
"been written in conjunction with the FlightGear project, the final"
"interface and arrangements are still evolving."
"The term 'Simulation Kernel' is a bit presumptuous for us at this"
"point, but this is the direction we are heading with SimGear."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	
	./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var

	make || return 1
	make install DESTDIR=$startdir/pkg
	
}