#Packager: Dimitris Tzemos <djemos(at)slackel.gr>

pkgname=gcompris
pkgver=15.10
pkgrel=1dj
source=("http://gcompris.net/download/gtk/src/$pkgname-$pkgver.tar.bz2")
sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname
url="http://gcompris.net/"
docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "NEWS" "README" "TODO")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"GCompris (an educational software suite for children ages 2 to 10)"
"GCompris is an educational software suite comprising of numerous"
"activities for children aged 2 to 10. Some of the activities are game"
"orientated, but nonetheless still educational. Currently GCompris"
"offers in excess of 140 activities and more are being developed."
"GCompris currently is translated in more than 40 languages."
""
"Homepage: http://gcompris.net/)"
)

build() {
	cd $SRC/${pkgname}-${pkgver}
   
	./configure \
	  --prefix=/usr \
	  --libdir=/usr/lib${LIBDIRSUFFIX} \
	  --sysconfdir=/etc \
	  --localstatedir=/var \
	  --mandir=/usr/man \
	  --infodir=/usr/info \
	  --docdir=/usr/doc/$pkgname-$pkgver \
	  --build=$arch-slackware-linux

	make -j $numjobs || return 1
	make install DESTDIR=$PKG || return 1
	chown -R root:root $PKG
}