#Packager: Frédéric Galusik pkgname=liboauth pkgver=0.9.4 pkgrel=1fg #arch=noarch source=(http://liboauth.sourceforge.net/pool/$pkgname-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver docs=("authors" "copying" "copying.gpl" "copying.mit" changelog" license.openssl" "news" "readme") url=http://liboauth.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "liboauth (C library implementing OAuth Core RFC 5849)" "liboauth is a collection of POSIX-c functions implementing the OAuth" "Core RFC 5849 standard. liboauth provides functions to escape and" "encode parameters according to OAuth specification and offers" "high-level functionality to sign requests or verify OAuth signatures" "as well as perform HTTP requests." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --enable-static=no \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }