#Maintainer: Dimitris Jemos pkgname=json-c pkgver=0.9 pkgrel=1dj source=(http://oss.metaparadigm.com/json-c/$pkgname-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname docs=("readme" "install" "copying" "changelog" "authors") url=http://oss.metaparadigm.com/json-c/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "json-c (JSON library in C)" "json-c implements a reference counting object model that allows you" "to easily construct JSON objects in C." "" "Homepage: http://oss.metaparadigm.com/json-c/" ) build() { cd $startdir/src/$pkgname-$pkgver || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \ --disable-static \ --mandir=/usr/man \ --program-prefix= \ --disable-static \ --program-suffix= \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 }