mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/geoipupdate: Updated for version 2.5.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
db51177248
commit
d7991759e7
2 changed files with 12 additions and 10 deletions
|
@ -5,6 +5,8 @@
|
|||
# Copyright 2014 Oleg A. Deordiev Ukraine
|
||||
# All rights reserved.
|
||||
#
|
||||
# Copyright (c) 2017-2018, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
|
@ -23,13 +25,13 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=geoipupdate
|
||||
VERSION=${VERSION:-2.1.0}
|
||||
VERSION=${VERSION:-2.5.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -40,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -90,7 +92,7 @@ mv $PKG/etc/GeoIP.conf $PKG/etc/GeoIP.conf.new
|
|||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
|
||||
cp $CWD/README ChangeLog.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="geoipupdate"
|
||||
VERSION="2.1.0"
|
||||
VERSION="2.5.0"
|
||||
HOMEPAGE="https://dev.maxmind.com/geoip/geoipupdate/"
|
||||
DOWNLOAD="https://github.com/maxmind/geoipupdate/releases/download/v2.1.0/geoipupdate-2.1.0.tar.gz"
|
||||
MD5SUM="9107d082f15c8e482f4b6f1080e7deaf"
|
||||
DOWNLOAD="https://github.com/maxmind/geoipupdate/releases/download/v2.5.0/geoipupdate-2.5.0.tar.gz"
|
||||
MD5SUM="28f633c49ec87ab01ad3c0fb0228a696"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Oleg A. Deordiev"
|
||||
EMAIL="admin@ifconfig.com.ua"
|
||||
MAINTAINER="Ricardo J. Barberis"
|
||||
EMAIL="ricardo.barberis@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue