libraries/libfwbuilder: Updated for version 3.0.4

This commit is contained in:
David Somero 2010-05-12 17:41:12 +02:00 committed by Robby Workman
parent 444eaa78a3
commit a0455c78ca
4 changed files with 14 additions and 8 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"

View file

@ -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: