#Packager: Richard Lapointe <richard@laprjns.com>
#Former Packager(s): Name <email@address.com>
#Anything commented out is optional and can be deleted.

pkgname=rest	
pkgver=0.7.90
pkgrel=1rl
#arch=noarch
source=("http://ftp.acc.umu.se/pub/GNOME/sources/rest/0.7/rest-0.7.90.tar.xz")
sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url="http://www.gtk.org/"
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"rest (RESTful Library)"
"A helper library for RESTful services." "librest is a library designed"
"to make it easier to access web services that claim to be RESTful." 


)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure \
		--prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--mandir=/usr/man \
		--docdir=/usr/doc/$PRGNAM-$VERSION \
		--build=$ARCH-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}