summaryrefslogtreecommitdiff
path: root/network/GeoIP/GeoIP.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-09-01 23:18:49 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-04 21:54:18 -0300
commitf16225a27d76cf9ae716396ea050f12deea8d902 (patch)
treeaaf677670f1a56a49ed9f7fd84fc18ad31b7f6d9 /network/GeoIP/GeoIP.SlackBuild
parent43645ce915b5e453bfed2d078515046bc904d1ea (diff)
downloadslackbuilds-f16225a27d76cf9ae716396ea050f12deea8d902.tar.gz
network/GeoIP: Updated for version 1.4.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/GeoIP/GeoIP.SlackBuild')
-rw-r--r--network/GeoIP/GeoIP.SlackBuild33
1 files changed, 28 insertions, 5 deletions
diff --git a/network/GeoIP/GeoIP.SlackBuild b/network/GeoIP/GeoIP.SlackBuild
index 80974c6dbe..89a266341a 100644
--- a/network/GeoIP/GeoIP.SlackBuild
+++ b/network/GeoIP/GeoIP.SlackBuild
@@ -1,20 +1,40 @@
#!/bin/sh
# Slackware build script for GeoIP
-# Written by Yalla-One <yallaone@gmail.com>
-# Maintained by markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115
+
+# Copyright 2007-2010 Yalla-One <yallaone@gmail.com>
+# Copyright 2011 markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115
+# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# 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.
+
+# revision date 2011/08/31
PRGNAM=GeoIP
-VERSION=1.4.7
+VERSION=${VERSION:-1.4.8}
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
@@ -49,6 +69,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# We need to update the configuration files in this tarball...
+autoreconf -i
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \