the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libfwbuilder7
Version: 2.1.14
Revision: 1004
BuildDepends: <<
libelf,
libiconv-dev,
libxml2,
libxslt,
net-snmp-unified25-dev,
qt3,
system-openssl-dev
<<
Depends: %N-shlibs (= %v-%r)
GCC: 4.0
BuildDependsOnly: true
Conflicts: libfwbuilder
Replaces: libfwbuilder
Source: mirror:sourceforge:fwbuilder/libfwbuilder-%v.tar.gz
Source-MD5: 1920128ef8c1cfcd73fbd3f10bd72482
PatchFile: %n.patch
PatchFile-MD5: 82651320c0755eee5521913cfd2f2835
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams: --with-docdir=%p/share/doc/%N --with-openssl-prefix=%p/lib/system-openssl
InstallScript: make install INSTALL_ROOT=%d
SplitOff: <<
Package: %N-shlibs
Depends: <<
libiconv,
libxml2-shlibs,
libxslt-shlibs,
net-snmp-unified25-shlibs
<<
Files: lib/lib*.7*.dylib share/libfwbuilder21
InstallScript: <<
mkdir -p %i/share/doc
cp -pr %I/share/doc/%N %i/share/doc/%n
<<
Shlibs: <<
%p/lib/libfwbuilder.7.dylib 7.3.0 %n (>= 2.1.9-1)
%p/lib/libfwcompiler.7.dylib 7.3.0 %n (>= 2.1.9-1)
<<
<<
Description: Firewall Builder API lib & compiler support
DescPackaging: <<
Former libversion maintained by Vadim Zaliva
Hard to hack consistent system-openssl paths, so don't bother
Patch *.pro to link lib being built, not one already installed
'make install' installs DocFiles files...just copy in splitoff
<<
License: GPL
Homepage: http://www.fwbuilder.org/
Maintainer: None
diff -Nurd -x'*~' libfwbuilder-2.1.9.orig/src/fwcompiler/fwcompiler.pro libfwbuilder-2.1.9/src/fwcompiler/fwcompiler.pro
--- libfwbuilder-2.1.9.orig/src/fwcompiler/fwcompiler.pro 2006-03-20 11:47:23.000000000 -0500
+++ libfwbuilder-2.1.9/src/fwcompiler/fwcompiler.pro 2007-02-14 00:20:42.000000000 -0500
@@ -24,9 +24,7 @@
headers.files =$$HEADERS
headers.path =$(DDIR)$$prefix/include/fwb-2.1/fwcompiler
-macx {
- LIBS += -L../fwbuilder -lfwbuilder
-}
+LIBS += ../fwbuilder/libfwbuilder.dylib
TARGET = fwcompiler
diff -Nurd -x'*~' libfwbuilder-2.1.9.orig/src/test/test.pro libfwbuilder-2.1.9/src/test/test.pro
--- libfwbuilder-2.1.9.orig/src/test/test.pro 2004-09-08 01:34:53.000000000 -0400
+++ libfwbuilder-2.1.9/src/test/test.pro 2007-02-14 01:46:33.000000000 -0500
@@ -21,7 +21,7 @@
CONFIG += warn_on debug
INCLUDEPATH += ../
- LIBS += -L../fwbuilder -lfwbuilder -pthread -lxslt -lxml2 -lz -lm -lssl -lcrypto /usr/lib/libresolv.a
+ LIBS += ../fwbuilder/libfwbuilder.dylib -pthread -lxslt -lxml2 -lz -lm -lssl -lcrypto /usr/lib/libresolv.a
}
win32 {
diff -Nurd -x'*~' libfwbuilder-2.1.9.orig/src/unit_tests/unit-tests.pro libfwbuilder-2.1.9/src/unit_tests/unit-tests.pro
--- libfwbuilder-2.1.9.orig/src/unit_tests/unit-tests.pro 2005-10-13 11:52:51.000000000 -0400
+++ libfwbuilder-2.1.9/src/unit_tests/unit-tests.pro 2007-02-14 01:46:23.000000000 -0500
@@ -19,7 +19,7 @@
CONFIG += warn_on debug
INCLUDEPATH += ../
- LIBS += -L../fwbuilder -lfwbuilder
+ LIBS += ../fwbuilder/libfwbuilder.dylib
}
win32 {