#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=cogl
pkgver=1.10.4
pkgrel=1rl
source=("ftp://ftp.gnome.org/pub/gnome/sources/cogl/1.10/cogl-1.10.4.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls" "coding_style")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"cogl (An object oriented GL/GLES Abstraction/Utility Layer)"
"Cogl is a small open source library for using 3D graphics hardware for"
"rendering. The API departs from the flat state machine style of OpenGL"
"and is designed to make it easy to write orthogonal components that"
"can render without stepping on each others toes."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}