# vim: set syn=sh: # Packager: Phill Watkins pkgname=json-c pkgver=0.9 pkgrel=1pw #arch=noarch source=("http://oss.metaparadigm.com/json-c/json-c-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/pwatk/packages/13.37/l/$pkgname docs=("AUTHORS ChangeLog COPYING INSTALL NEWS README") url=http://oss.metaparadigm.com/json-c slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "json-c (A JSON implementation 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() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux \ --disable-static make -j $numjobs make install DESTDIR=$startdir/pkg set +e }