#Packager: Dimitris Tzemos <djemos~at~gmail~dot~com>

pkgname=geoclue
pkgver=2.4.7
pkgrel=1dj
source=(https://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-2.4.7.tar.xz)
docs=("AUTHORS ChangeLog COPYING NEWS README")
url=http://geoclue.freedesktop.org/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"geoclue (geoinformation service)"
"Geoclue is a modular geoinformation service built on top of the D-Bus"
"messaging system. The goal of the Geoclue project is to make creating"
"location-aware applications as simple as possible."
"Geoclue defines a set of geoinformation APIs, but it also includes"
"some providers that implement those APIs."
""
"homepage: http://geoclue.freedesktop.org/"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --infodir=/usr/info \
  --docdir=/usr/doc/$pkgname-$pkgver \
  --enable-static=no \
  --build=$arch-slackware-linux

	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
} 
