diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-04-09 00:20:09 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-04-11 00:10:57 -0500 |
commit | c4bff47d3446c20ee770baf2367c0c72592e1eff (patch) | |
tree | ca5bd974ea0407ab95dd78953b6c96d7a2c0fa88 /network/fwbuilder/fwbuilder.SlackBuild | |
parent | 793c0e481953cd7fd5cadec2df5472a5231a5a31 (diff) | |
download | slackbuilds-c4bff47d3446c20ee770baf2367c0c72592e1eff.tar.gz |
network/fwbuilder: Updated for version 4.1.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 |