summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2022-02-10 09:18:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-10 09:18:09 +0700
commitb8370deb301a3d4099dbf27e960367124fc2df54 (patch)
tree4d2fe217858252e10e0b4284a608d7ecadfa7de8
parenta298207a91cdf66ce057580e8cb2fd8d290148fc (diff)
downloadslackbuilds-b8370deb301a3d4099dbf27e960367124fc2df54.tar.gz
libraries/libupnp: Updated for version 1.14.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libupnp/libupnp.SlackBuild10
-rw-r--r--libraries/libupnp/libupnp.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/libraries/libupnp/libupnp.SlackBuild b/libraries/libupnp/libupnp.SlackBuild
index f2523f6c53..4a1022d2f1 100644
--- a/libraries/libupnp/libupnp.SlackBuild
+++ b/libraries/libupnp/libupnp.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libupnp
-VERSION=${VERSION:-1.8.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.14.12}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,7 +85,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/patches/01_remove_threadpool_h.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -107,8 +106,11 @@ make install DESTDIR=$PKG
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
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE THANKS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING THANKS ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/libupnp/libupnp.info b/libraries/libupnp/libupnp.info
index bd63584737..d57e56aff3 100644
--- a/libraries/libupnp/libupnp.info
+++ b/libraries/libupnp/libupnp.info
@@ -1,8 +1,8 @@
PRGNAM="libupnp"
-VERSION="1.8.3"
+VERSION="1.14.12"
HOMEPAGE="http://pupnp.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/pupnp/libupnp-1.8.3.tar.bz2"
-MD5SUM="3ea76f8f1819598be52dd1f330ceafaa"
+DOWNLOAD="https://sourceforge.net/projects/pupnp/files/release-1.14.12/libupnp-1.14.12.tar.bz2"
+MD5SUM="63a51264054f62947f930c2f89e49b28"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""