diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2015-04-08 20:07:34 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-12 10:06:52 +0700 |
commit | 73be7d931e6b9bf8936988598564690f7b6963df (patch) | |
tree | f540762ee25e26f85ef73b99989c93c48276e8fa /system/geoclue | |
parent | 2efbb48a4f3416335423c4c2c2b9c9c51c24a9c5 (diff) | |
download | slackbuilds-73be7d931e6b9bf8936988598564690f7b6963df.tar.gz |
system/geoclue: Disable building against the newer gpsd.
Added a license, cleanups
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/geoclue')
-rw-r--r-- | system/geoclue/README | 2 | ||||
-rw-r--r-- | system/geoclue/geoclue.SlackBuild | 30 |
2 files changed, 25 insertions, 7 deletions
diff --git a/system/geoclue/README b/system/geoclue/README index 71e8911bd9..a924eb1a4d 100644 --- a/system/geoclue/README +++ b/system/geoclue/README @@ -5,5 +5,3 @@ 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. - -gpsd is an optional dependency. diff --git a/system/geoclue/geoclue.SlackBuild b/system/geoclue/geoclue.SlackBuild index e84a3ba327..ce119daa39 100644 --- a/system/geoclue/geoclue.SlackBuild +++ b/system/geoclue/geoclue.SlackBuild @@ -1,7 +1,26 @@ #!/bin/sh # Slackware build script for geoclue -# Written by Matteo Bernardini <ponce@slackbuilds.org> + +# Copyright 2012-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geoclue VERSION=${VERSION:-0.12.99} @@ -47,10 +66,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -65,6 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-gtk=yes \ --enable-networkmanager=yes \ --enable-skyhook=yes \ + --enable-gpsd=no \ --build=$ARCH-slackware-linux make |