diff options
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 |