diff options
author | Chris Abela <kristofru@gmail.com> | 2013-06-30 12:38:17 -0300 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-07-02 16:06:52 -0500 |
commit | 7072685be064a3a3d3c3b0a41a1bd9d0042f84c5 (patch) | |
tree | a5955b34fbb3412cb82ac8ceeee7e3a0174ee5a2 /network | |
parent | 81268f4406d812b5c9792481b6105ce974bf4c20 (diff) | |
download | slackbuilds-7072685be064a3a3d3c3b0a41a1bd9d0042f84c5.tar.gz |
network/ip2location-c: Updated for version 6.0.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/ip2location-c/ip2location-c.SlackBuild | 12 | ||||
-rw-r--r-- | network/ip2location-c/ip2location-c.info | 6 |
2 files changed, 12 insertions, 6 deletions
diff --git a/network/ip2location-c/ip2location-c.SlackBuild b/network/ip2location-c/ip2location-c.SlackBuild index 2bd2be1d16..71249d9c61 100644 --- a/network/ip2location-c/ip2location-c.SlackBuild +++ b/network/ip2location-c/ip2location-c.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for ip2location-c -# Copyright 2012 Chris Abela, Malta +# Copyright 2012, 2013 Chris Abela, Malta # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ip2location-c # Previously known as C-IP2Location -VERSION=${VERSION:-4.0.2} +VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,6 +68,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +autoreconf -vif + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -77,18 +79,22 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-libtool-lock \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG +cp -a libIP2Location/libIP2Location_la-IP2Loc_DBInterface.{lo,o} $PKG/usr/lib${LIBDIRSUFFIX}/ +cp -a libIP2Location/IP2Loc_DBInterface.h $PKG/usr/include/ + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION # NEWS is empty, so we do not bother to copy it cp -a \ - AUTHORS COPYING ChangeLog INSTALL IP2LOCATION_PRODUCTS_CATALOG.PDF LICENSE.TXT README \ + AUTHORS COPYING ChangeLog Developers_Guide.txt INSTALL LICENSE.TXT README \ $PKG/usr/doc/$PRGNAM-$VERSION chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/ip2location-c/ip2location-c.info b/network/ip2location-c/ip2location-c.info index de6b569a29..ec2b7f3e96 100644 --- a/network/ip2location-c/ip2location-c.info +++ b/network/ip2location-c/ip2location-c.info @@ -1,8 +1,8 @@ PRGNAM="ip2location-c" -VERSION="4.0.2" +VERSION="6.0.1" HOMEPAGE="http://www.ip2location.com/c.aspx" -DOWNLOAD="http://www.ip2location.com/downloads/ip2location-c-4.0.2.tar.gz" -MD5SUM="cf49b2803a5e37b74b6c77856f2e406b" +DOWNLOAD="http://www.ip2location.com/downloads/ip2location-c-6.0.1.tar.gz" +MD5SUM="3992f912f0ca86c1ebb34513475f3f25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |