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

pkgname=t4k_common
pkgver=0.0.3
pkgrel=1gv
source=("https://alioth.debian.org/frs/download.php/3439/t4k_common-0.0.3.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls")
url=http://tux4kids.alioth.debian.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"t4kcommon (common library for code shared by TuxType and TuxMath)"
"t4kcommon is a library that includes common code shared by TuxType and"
"TuxMath."
)


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