diff options
Diffstat (limited to 'network/vidalia/vidalia.SlackBuild')
-rw-r--r-- | network/vidalia/vidalia.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/network/vidalia/vidalia.SlackBuild b/network/vidalia/vidalia.SlackBuild index 75366c3cbc..d32e341a06 100644 --- a/network/vidalia/vidalia.SlackBuild +++ b/network/vidalia/vidalia.SlackBuild @@ -3,19 +3,18 @@ # Slackware build script for vidalia # Originally written by Larry Hajali <larryhaja[at]gmail[dot]com> -# Maintained by markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115 +# Adapted and now maintained by +# markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115 PRGNAM=vidalia -VERSION=${VERSION:-0.2.10} +VERSION=${VERSION:-0.2.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -54,10 +53,17 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +if [ "$GEOIP" = "no" ]; then + GEOIP="" +else + GEOIP="-DUSE_GEOIP=1 \ + -DGEOIP_INCLUDE_DIR=/usr/include/" +fi + mkdir build && cd build cmake \ + $GEOIP \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_SKIP_RPATH:BOOL=YES \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ |