summaryrefslogtreecommitdiffstats
path: root/geoclue/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'geoclue/Pkgfile')
-rw-r--r--geoclue/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/geoclue/Pkgfile b/geoclue/Pkgfile
new file mode 100644
index 000000000..fc0c0ddb0
--- /dev/null
+++ b/geoclue/Pkgfile
@@ -0,0 +1,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=3
+source=(http://cgit.freedesktop.org/$name/snapshot/$name-$version.tar.bz2
+ geoclue-NMCrash.patch
+ geoclue-nm08.patch
+ gpsd-3.4.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../geoclue-NMCrash.patch
+ patch -p1 < ../geoclue-nm08.patch
+ patch -p1 < ../gpsd-3.4.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
+}