aboutsummaryrefslogtreecommitdiff
path: root/libraries/miniupnpc/miniupnpc.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2018-11-10 09:29:04 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-17 18:42:53 +0700
commitdd34ba5f0cc4a707a205bd1c2f3d3db68cd7028d (patch)
treefa69bbd1caa08d73d08d31d72a1690e9ecb331fa /libraries/miniupnpc/miniupnpc.SlackBuild
parent06f4b2c1642a2168b836a717d02a3b66f831933f (diff)
libraries/miniupnpc: Updated for version 2.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/miniupnpc/miniupnpc.SlackBuild')
-rw-r--r--libraries/miniupnpc/miniupnpc.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/miniupnpc/miniupnpc.SlackBuild b/libraries/miniupnpc/miniupnpc.SlackBuild
index 6ea8d4b281fe4..628990f1c1066 100644
--- a/libraries/miniupnpc/miniupnpc.SlackBuild
+++ b/libraries/miniupnpc/miniupnpc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for miniupnpc
-# Copyright 2012-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2012-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=miniupnpc
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,7 +72,7 @@ find -L . \
# Slackware specific info.
patch -p1 < $CWD/slackware-version.patch
sed -i 's|share/man|man|' Makefile
-sed -i -e 's|\.a"|\.so"|' -e "s|version=\".*\"|version=\"$VERSION\"|" setup.py
+sed -i "s|lib${PRGNAM}\.a|lib${PRGNAM}\.so|" setup.py
# Upstream Cmake causes build problems. We're going to use the makefile instead.
CFLAGS="$SLKCFLAGS" LIBDIR="lib${LIBDIRSUFFIX}" make