Browse Source

l/libupnp: Upgraded to libupnp-1.6.25.

slackware-14.2
Damien Goutte-Gattat 3 years ago
parent
commit
374a7337df
  1. 1
      l/libupnp/libupnp-1.6.20.tar.bz2.sha1
  2. 1
      l/libupnp/libupnp-1.6.25.tar.gz.sha256
  3. 21
      l/libupnp/libupnp.SlackBuild

1
l/libupnp/libupnp-1.6.20.tar.bz2.sha1

@ -1 +0,0 @@
e07cb8f9f7016233f62519f7ea5c481c4a5f10b2 libupnp-1.6.20.tar.bz2

1
l/libupnp/libupnp-1.6.25.tar.gz.sha256

@ -0,0 +1 @@
a7b746064b799e412e25d3e10a3b157620b427e7244e4a66bc0984bd5a4a6d20 libupnp-1.6.25.tar.gz

21
l/libupnp/libupnp.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2013,2016 Damien Goutte-Gattat
# Copyright (C) 2011,2013,2016,2018 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -23,13 +23,13 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest libupnp sourcecode is available at:
# <http://pupnp.sourceforge.net/>.
# <https://github.com/mrjimenez/pupnp/>.
# Source package infos
NAMESRC=${NAMESRC:-libupnp}
VERSION=${VERSION:-1.6.20}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://downloads.sourceforge.net/pupnp/$ARCHIVE}
VERSION=${VERSION:-1.6.25}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/mrjimenez/pupnp/archive/release-$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-libupnp}
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -84,6 +84,7 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
./bootstrap
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
@ -91,14 +92,14 @@ CXXFLAGS=$CPUOPT \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-static \
--enable-ipv6 \
--without-documentation # broken in 1.6.19
--without-documentation
make -j $JOBS
make install-strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog LICENSE NEWS README THANKS TODO \
$PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS COPYING ChangeLog LICENSE NEWS README.md THANKS TODO \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save