summaryrefslogtreecommitdiff
path: root/network/vidalia/vidalia.SlackBuild
diff options
context:
space:
mode:
authormarkus reichelt <slackbuilds@mareichelt.de>2011-07-09 14:03:07 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 19:50:59 -0300
commit493cc1ff38009e49bacf02897fe318ae8fcb6c23 (patch)
treeb4c3ca2bcfbe900f4de5563a5e7aeddfecb50443 /network/vidalia/vidalia.SlackBuild
parent1a2f261d32a48c680785b6ad85c613ac6c14dfa5 (diff)
downloadslackbuilds-493cc1ff38009e49bacf02897fe318ae8fcb6c23.tar.gz
network/vidalia: Updated for version 0.2.12.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/vidalia/vidalia.SlackBuild')
-rw-r--r--network/vidalia/vidalia.SlackBuild16
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" \