summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/C-IP2Location/C-IP2Location.SlackBuild7
-rw-r--r--network/C-IP2Location/C-IP2Location.info4
2 files changed, 6 insertions, 5 deletions
diff --git a/network/C-IP2Location/C-IP2Location.SlackBuild b/network/C-IP2Location/C-IP2Location.SlackBuild
index f0170fd6fe..5548fe76e8 100644
--- a/network/C-IP2Location/C-IP2Location.SlackBuild
+++ b/network/C-IP2Location/C-IP2Location.SlackBuild
@@ -22,6 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=C-IP2Location
+SRCNAM=ip2location-c
VERSION=${VERSION:-4.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/network/C-IP2Location/C-IP2Location.info b/network/C-IP2Location/C-IP2Location.info
index 360fd45a90..5a6ced6ea6 100644
--- a/network/C-IP2Location/C-IP2Location.info
+++ b/network/C-IP2Location/C-IP2Location.info
@@ -1,8 +1,8 @@
PRGNAM="C-IP2Location"
VERSION="4.0.2"
HOMEPAGE="http://www.ip2location.com/c.aspx"
-DOWNLOAD="http://www.ip2location.com/download/C-IP2Location-4.0.2.tar.gz"
-MD5SUM="c6bcc8469f0464b91e345cc452d8c554"
+DOWNLOAD="http://www.ip2location.com/downloads/ip2location-c-4.0.2.tar.gz"
+MD5SUM="cf49b2803a5e37b74b6c77856f2e406b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""