diff options
author | David Somero <dsomero@hotmail.com> | 2010-05-12 17:41:12 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:41:12 +0200 |
commit | a0455c78ca4d88114cd513ccabd4883b1391ca16 (patch) | |
tree | be66f1f54a2a2e8378853f0c8fc11ae20758c84b /libraries/libfwbuilder/libfwbuilder.SlackBuild | |
parent | 444eaa78a3bb00946ad5fd0472e0d0cf09a81190 (diff) | |
download | slackbuilds-a0455c78ca4d88114cd513ccabd4883b1391ca16.tar.gz |
libraries/libfwbuilder: Updated for version 3.0.4
Diffstat (limited to 'libraries/libfwbuilder/libfwbuilder.SlackBuild')
-rw-r--r-- | libraries/libfwbuilder/libfwbuilder.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/libfwbuilder/libfwbuilder.SlackBuild b/libraries/libfwbuilder/libfwbuilder.SlackBuild index 1ca84d2dfe..d303f2fade 100644 --- a/libraries/libfwbuilder/libfwbuilder.SlackBuild +++ b/libraries/libfwbuilder/libfwbuilder.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libfwbuilder -# Copyright 2007 David Somero <dsomero@hotmail.com> +# Copyright 2008 David Somero <dsomero@hotmail.com> Athens,TN USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libfwbuilder -VERSION=2.1.19 +VERSION=${VERSION:-3.0.4} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -60,12 +63,13 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --with-docdir=/usr/doc/$PRGNAM-$VERSION \ - --with-advanced-dns \ + --with-qmake=qmake-qt4 \ --build=$ARCH-slackware-linux make -make install DDIR=$PKG +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 |