diff options
author | Jason Graham <jgraham@compukix.net> | 2022-08-20 09:17:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-20 09:17:40 +0700 |
commit | f4052d6f38a7d716e0ab23bb50e9b474ae7b0419 (patch) | |
tree | 897d8e8bed6fd717445703dd5e0a3cdf672eae04 | |
parent | 779553b3494d98941e34cef430cdcb9c8cb848f5 (diff) | |
download | slackbuilds-f4052d6f38a7d716e0ab23bb50e9b474ae7b0419.tar.gz |
network/ip2location-c: Updated for version 8.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/ip2location-c/ip2location-c.SlackBuild | 15 | ||||
-rw-r--r-- | network/ip2location-c/ip2location-c.info | 6 |
2 files changed, 12 insertions, 9 deletions
diff --git a/network/ip2location-c/ip2location-c.SlackBuild b/network/ip2location-c/ip2location-c.SlackBuild index 70756bb7cc..b887b31437 100644 --- a/network/ip2location-c/ip2location-c.SlackBuild +++ b/network/ip2location-c/ip2location-c.SlackBuild @@ -4,7 +4,7 @@ # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org # Copyright 2012, 2013 Chris Abela, Malta -# Copyright 2018 Jason Graham, MD <jgraha8@gmail.com> +# Copyright 2018, 2022 Jason Graham, USA <jgraham@compukix.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ip2location-c SRCNAM=IP2Location-C-Library -VERSION=${VERSION:-8.0.9} -BUILD=${BUILD:-2} +VERSION=${VERSION:-8.5.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -106,17 +106,20 @@ if [ "$DB" = "yes" ]; then ( cd data && perl ip-country.pl && make install DESTDIR=$PKG ) fi +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING Developers_Guide.txt NEWS README INSTALL ChangeLog AUTHORS LICENSE.TXT \ + AUTHORS COPYING ChangeLog Developers_Guide.txt INSTALL LICENSE.TXT NEWS README README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -f $PKG/usr/lib*/*.la - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/network/ip2location-c/ip2location-c.info b/network/ip2location-c/ip2location-c.info index 0bcd55c047..1eb8c6851f 100644 --- a/network/ip2location-c/ip2location-c.info +++ b/network/ip2location-c/ip2location-c.info @@ -1,8 +1,8 @@ PRGNAM="ip2location-c" -VERSION="8.0.9" +VERSION="8.5.1" HOMEPAGE="http://www.ip2location.com/developers/c" -DOWNLOAD="https://github.com/chrislim2888/IP2Location-C-Library/archive/8.0.9/IP2Location-C-Library-8.0.9.tar.gz" -MD5SUM="a232a7ed1cdfb4d972da60261fe4f38e" +DOWNLOAD="https://github.com/chrislim2888/IP2Location-C-Library/archive/8.5.1/IP2Location-C-Library-8.5.1.tar.gz" +MD5SUM="dda212717bc285e9d1e5bd7937953ad9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |