aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-12 17:41:12 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:12 +0200
commita0455c78ca4d88114cd513ccabd4883b1391ca16 (patch)
treebe66f1f54a2a2e8378853f0c8fc11ae20758c84b /libraries
parent444eaa78a3bb00946ad5fd0472e0d0cf09a81190 (diff)
libraries/libfwbuilder: Updated for version 3.0.4
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libfwbuilder/README2
-rw-r--r--libraries/libfwbuilder/libfwbuilder.SlackBuild12
-rw-r--r--libraries/libfwbuilder/libfwbuilder.info6
-rw-r--r--libraries/libfwbuilder/slack-desc2
4 files changed, 14 insertions, 8 deletions
diff --git a/libraries/libfwbuilder/README b/libraries/libfwbuilder/README
index bf562f302fe19..3be3d438c3e68 100644
--- a/libraries/libfwbuilder/README
+++ b/libraries/libfwbuilder/README
@@ -6,3 +6,5 @@ editing using simple drag-and-drop operations. Firewall Builder currently
supports iptables, ipfilter, OpenBSD PF, and Cisco PIX.
This builds the shared libraries needed for Firewall Builder.
+
+This requires QT4.
diff --git a/libraries/libfwbuilder/libfwbuilder.SlackBuild b/libraries/libfwbuilder/libfwbuilder.SlackBuild
index 1ca84d2dfec96..d303f2fade3d8 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
diff --git a/libraries/libfwbuilder/libfwbuilder.info b/libraries/libfwbuilder/libfwbuilder.info
index 2e22e6f1b3c36..a59c31fc4beda 100644
--- a/libraries/libfwbuilder/libfwbuilder.info
+++ b/libraries/libfwbuilder/libfwbuilder.info
@@ -1,8 +1,8 @@
PRGNAM="libfwbuilder"
-VERSION="2.1.19"
+VERSION="3.0.4"
HOMEPAGE="http://www.fwbuilder.org"
-DOWNLOAD="http://downloads.sourceforge.net/fwbuilder/libfwbuilder-2.1.19.tar.gz"
-MD5SUM="47f828e91067e80e2dc91a316e762eac"
+DOWNLOAD="http://downloads.sourceforge.net/fwbuilder/libfwbuilder-3.0.4.tar.gz"
+MD5SUM="c4d23b9b72c9d2272ab1a41e2bc86903"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="rworkman"
diff --git a/libraries/libfwbuilder/slack-desc b/libraries/libfwbuilder/slack-desc
index 1cac519644422..7b3da15b61dbf 100644
--- a/libraries/libfwbuilder/slack-desc
+++ b/libraries/libfwbuilder/slack-desc
@@ -11,9 +11,9 @@ libfwbuilder:
libfwbuilder: This package contains shared libraries used by the
libfwbuilder: the Firewall Builder (fwbuilder) application.
libfwbuilder:
+libfwbuilder: Homepage: http://www.fwbuilder.org
libfwbuilder:
libfwbuilder:
libfwbuilder:
libfwbuilder:
libfwbuilder:
-libfwbuilder: