mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/miniupnpc: Updated for version 1.7.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
f305887413
commit
2901579490
2 changed files with 6 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||
|
||||
PRGNAM=miniupnpc
|
||||
VERSION=${VERSION:-1.6}
|
||||
VERSION=${VERSION:-1.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -53,7 +53,7 @@ find . \
|
|||
|
||||
# Slackware/Slackbuilds.org specific info.
|
||||
patch -p1 < $CWD/slackware-version.patch
|
||||
sed -i -e "/^CFLAGS/ s|-O|$SLKCFLAGS|" Makefile
|
||||
sed -i -e "/^CFLAGS/ s|-O|$SLKCFLAGS|" -e 's|share/man|man|' Makefile
|
||||
|
||||
# Upstream Cmake causes build problems. We're going to use the makefile instead.
|
||||
make
|
||||
|
@ -67,13 +67,10 @@ rm -f $PKG/usr/lib$LIBDIRSUFFIX/lib$PRGNAM.a
|
|||
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
|
||||
|
||||
install -D -m 0644 man3/$PRGNAM.3 $PKG/usr/man/man3/$PRGNAM.3
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
Changelog.txt LICENSE README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a Changelog.txt LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="miniupnpc"
|
||||
VERSION="1.6"
|
||||
VERSION="1.7"
|
||||
HOMEPAGE="http://miniupnp.free.fr/"
|
||||
DOWNLOAD="http://miniupnp.free.fr/files/miniupnpc-1.6.tar.gz"
|
||||
MD5SUM="88055f2d4a061cfd4cfe25a9eae22f67"
|
||||
DOWNLOAD="http://miniupnp.free.fr/files/miniupnpc-1.7.tar.gz"
|
||||
MD5SUM="297bee441b56af87c6622fc4002179fd"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue