diff options
Diffstat (limited to 'libraries/miniupnpc/miniupnpc.SlackBuild')
-rw-r--r-- | libraries/miniupnpc/miniupnpc.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libraries/miniupnpc/miniupnpc.SlackBuild b/libraries/miniupnpc/miniupnpc.SlackBuild index 1b56025529..e910674036 100644 --- a/libraries/miniupnpc/miniupnpc.SlackBuild +++ b/libraries/miniupnpc/miniupnpc.SlackBuild @@ -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 |