#Maintainer: Thorsten Muehlfelder <thenktor(at)gmx.de>

pkgname=gob2
pkgver=2.0.17
pkgrel=2tm
source=("http://ftp.5z.com/pub/gob/gob2-$pkgver.tar.gz")
url="http://www.5z.com/jirka/gob.html"
docs=('AUTHORS' 'ChangeLog' 'COPYING' 'COPYING.generated-code' 'INSTALL' 'NEWS' 'README' 'TODO')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (a preprocessor for making GObjects)"
"GOB (GOB2 anyway) is a preprocessor for making GObjects with inline C"
"code so that generated files are not edited. Syntax is inspired by"
"Java and Yacc or Lex. The implementation is intentionally kept simple,"
"and no C actual code parsing is done."
)

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