aboutsummaryrefslogtreecommitdiff
path: root/libraries/libupnp/libupnp.SlackBuild
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 /libraries/libupnp/libupnp.SlackBuild
parenta298207a91cdf66ce057580e8cb2fd8d290148fc (diff)
libraries/libupnp: Updated for version 1.14.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libupnp/libupnp.SlackBuild')
-rw-r--r--libraries/libupnp/libupnp.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/libupnp/libupnp.SlackBuild b/libraries/libupnp/libupnp.SlackBuild
index f2523f6c53a45..4a1022d2f1330 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