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
31
32
33
|
# 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=2
source=(http://cgit.freedesktop.org/$name/snapshot/$name-$version.tar.bz2
geoclue-NMCrash.patch
geoclue-nm08.patch
gpsd-3.3.patch)
build() {
cd $name-$version
patch -p1 < ../geoclue-NMCrash.patch
patch -p1 < ../geoclue-nm08.patch
patch -p0 < ../gpsd-3.3.patch
./autogen.sh
sed "s/-Werror//g" -i configure
./configure --prefix=/usr \
--libexecdir=/usr/bin \
--disable-gtk-doc \
--enable-gtk=yes \
--enable-networkmanager=yes \
--enable-gypsy=yes \
--enable-gpsd=yes \
--enable-skyhook=yes
make
make DESTDIR=$PKG install
}
|