#Packager: Tim Beech pkgname=json-c pkgver=0.11 pkgrel=1tjb #arch=noarch source=($pkgname-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://json.org/ #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "json-c (C implementation of JavaScript Object Notation)" "json-c provides this lightweight data interchange format for C. JSON" "is a text format that is completely language independent but uses" "conventions that are familiar to programmers of the C-family of" "languages, including C, C++, C#, Java, JavaScript, Perl, and Python." "These properties make JSON an ideal data-interchange language." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var \ --sysconfdir=/etc --build=$arch-slackware-linux # --disable-static make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }