diff options
Diffstat (limited to 'network/fwbuilder/fwbuilder.SlackBuild')
-rw-r--r-- | network/fwbuilder/fwbuilder.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/network/fwbuilder/fwbuilder.SlackBuild b/network/fwbuilder/fwbuilder.SlackBuild index 152274f2ee..e76f58e7c5 100644 --- a/network/fwbuilder/fwbuilder.SlackBuild +++ b/network/fwbuilder/fwbuilder.SlackBuild @@ -6,7 +6,7 @@ # Derived from Slackware's Slackbuilds. # # Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA -# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, USA +# Copyright 2010-2011 David Somero (dsomero@hotmail.com) Athens, TN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,16 +27,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fwbuilder -VERSION=4.0.2 +VERSION=4.1.3 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -79,6 +77,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./autogen.sh \ --prefix=/usr \ + --mandir=/usr/man \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --with-docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux @@ -89,11 +88,11 @@ make INSTALL_ROOT=$PKG install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Move incorrectly installed man pages; stupid configure overrides our settings +# Move incorrectly installed man pages; stupid configure overrides our settings. mv $PKG/usr/share/man $PKG/usr/ -# Compress man pages -( cd $PKG/usr/man ; find . -type f -exec gzip -9 {} \; ) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |