#Packager: George Vlahavas pkgname=json-c pkgver=0.11 pkgrel=1gv source=("https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://github.com/json-c/json-c slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "json-c (a small JSON library in C)" "JSON-C implements a reference counting object model that allows you to" "easily construct JSON objects in C, output them as JSON formatted" "strings and parse JSON formatted strings back into the C" "representation of JSON objects." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # why is this left out? cp json_object_iterator.h $startdir/pkg/usr/include/json/ }