summaryrefslogtreecommitdiffstats
path: root/geoclue/Pkgfile
blob: 78e123d342a45771c29529ee0b5e0788ea07c24c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Description: Service de geoinformation modulaire.
# URL: http://geoclue.freedesktop.org
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on: gconf, gtk, gypsy, libgnome-keyring, sqlite3, libproxy, libsoup, gtk-doc, networkmanager, gpsd, nspr, nss
# Run on: gconf,gtk,gypsy,libgnome-keyring,sqlite3,libproxy,libsoup,networkmanager,gpsd,nspr,nss

name=geoclue
version=0.12
release=1
source=(http://cgit.freedesktop.org/$name/snapshot/$name-$version.tar.bz2
	geoclue-NMCrash.patch
	geoclue-nm08.patch)

build() {
	cd $name-$version
	patch -p1 < ../geoclue-NMCrash.patch
	patch -p1 < ../geoclue-nm08.patch
	./autogen.sh
	sed "s/-Werror//g" -i configure
	./configure --prefix=/usr \
		--disable-gtk-doc \
		--enable-gtk=yes \
		--enable-networkmanager=yes \
		--enable-gypsy=yes \
		--enable-gpsd=yes \
		--enable-skyhook=yes
	make
	make DESTDIR=$PKG install
}