the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libpqxx
Version: 1.5.1
Revision: 1022
Description: PostgreSQL C++ interface
License: BSD
Maintainer: Benjamin Reed
Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
postgresql82-dev,
system-openssl-dev
<<
Provides: libpqxx-dev
Conflicts: libpqxx2
Replaces: <<
libpqxx2,
postgresql73-dev,
postgresql73-ssl-dev,
postgresql73-unified-dev,
postgresql74-dev,
postgresql74-ssl-dev,
postgresql74-unified-dev,
postgresql80-dev,
postgresql80-ssl-dev,
postgresql80-unified-dev,
postgresql81-dev
<<
GCC: 4.0
Source: ftp://gborg.postgresql.org/pub/%n/stable/%n-%v.tar.gz
Source-MD5: 3c0f2b5a89ece20e7a84808c594dd7aa
PatchScript: perl -pi -e 's,hardcode_direct=yes,hardcode_direct=no,g' configure
ConfigureParams: --mandir=%p/share/man --with-postgres-include=%p/include/postgresql --with-postgres-lib=%p/lib --enable-shared
CompileScript: <<
#!/bin/sh -ev
export lt_cv_sys_max_cmd_len=65536 PGCONFIG=%p/bin/pg_config-8.2
export CPPFLAGS="-I%p/lib/system-openssl/include -I%p/include/postgresql -I%p/include -DHAVE_OPTRESET -fno-common"
export LDFLAGS="-L%p/lib/system-openssl/lib -L%p/lib"
./configure %c
make CC="g++" CXX="g++" CPP="g++ -E"
<<
InstallScript: <<
#!/bin/sh -ev
make -j1 install DESTDIR=%d
install -d -m 755 %i/share/doc/%N
mv doc/html/Reference %i/share/doc/%N/reference
find %i/share/doc/%N -type d -name CVS -exec rm -rf {} \; || :
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
SplitOff: <<
Package: %N-shlibs
Description: Shared libraries for the old PostgreSQL C++ interface
Depends: postgresql82-shlibs
Replaces: <<
postgresql73-shlibs,
postgresql73-ssl-shlibs,
postgresql73-unified-shlibs,
postgresql74-shlibs,
postgresql74-ssl-shlibs,
postgresql74-unified-shlibs,
postgresql80-shlibs,
postgresql80-ssl-shlibs,
postgresql80-unified-shlibs,
postgresql81-shlibs
<<
Files: lib/libpqxx.*.dylib
Shlibs: %p/lib/libpqxx.0.dylib 1.0.0 %n (>= 1.5.1-1)
<<
Homepage: http://gborg.postgresql.org/project/libpqxx/
DescDetail: <<
Welcome to libpqxx, a C++ API to the PostgreSQL database management system.
There are many similar libraries for PostgreSQL and for other databases,
some of them database-independent. Most of these, however, are fairly
C-like in their programming style, and fail to take advantage of the full
power of the C++ language as it has matured since the acceptance of the
Standard in 1996. What libpqxx brings you is effective use of templates to
reduce the inconvenience of dealing with type conversions; of standard C++
strings to keep you from having to worry about buffer allocation and
overflow attacks; of exceptions to take the tedious and error-prone
plumbing around error handling out of your hands; of constructors and
destructors to bring resource management under control; and even basic
object-orientation to give you some extra reliability features that would
be hard to get with most other database interfaces.
<<
--- libpqxx-2.2.3/configure Mon May 10 08:37:31 2004
+++ libpqxx-2.2.3-new/configure Sun May 16 13:09:30 2004
@@ -19832,7 +19832,8 @@
{ echo "$as_me:$LINENO: using PostgreSQL libraries at $with_postgres_lib" >&5
echo "$as_me: using PostgreSQL libraries at $with_postgres_lib" >&6;}
-
+with_postgres_include="@INSTPREFIX@/include/postgresql"
+with_postgres_lib="@INSTPREFIX@/lib"
POSTGRES_LIB="-L${with_postgres_lib} -R${with_postgres_lib} -lpq"
Package: libpqxx
Version: 1.5.1
Revision: 1022
Description: PostgreSQL C++ interface
License: BSD
Maintainer: Benjamin Reed
Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
postgresql82-dev,
system-openssl-dev
<<
Provides: libpqxx-dev
Conflicts: libpqxx2
Replaces: <<
libpqxx2,
postgresql73-dev,
postgresql73-ssl-dev,
postgresql73-unified-dev,
postgresql74-dev,
postgresql74-ssl-dev,
postgresql74-unified-dev,
postgresql80-dev,
postgresql80-ssl-dev,
postgresql80-unified-dev,
postgresql81-dev
<<
GCC: 4.0
Source: ftp://gborg.postgresql.org/pub/%n/stable/%n-%v.tar.gz
Source-MD5: 3c0f2b5a89ece20e7a84808c594dd7aa
PatchScript: perl -pi -e 's,hardcode_direct=yes,hardcode_direct=no,g' configure
ConfigureParams: --mandir=%p/share/man --with-postgres-include=%p/include/postgresql --with-postgres-lib=%p/lib --enable-shared
CompileScript: <<
#!/bin/sh -ev
export lt_cv_sys_max_cmd_len=65536 PGCONFIG=%p/bin/pg_config-8.2
export CPPFLAGS="-I%p/lib/system-openssl/include -I%p/include/postgresql -I%p/include -DHAVE_OPTRESET -fno-common"
export LDFLAGS="-L%p/lib/system-openssl/lib -L%p/lib"
./configure %c
make CC="g++" CXX="g++" CPP="g++ -E"
<<
InstallScript: <<
#!/bin/sh -ev
make -j1 install DESTDIR=%d
install -d -m 755 %i/share/doc/%N
mv doc/html/Reference %i/share/doc/%N/reference
find %i/share/doc/%N -type d -name CVS -exec rm -rf {} \; || :
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
SplitOff: <<
Package: %N-shlibs
Description: Shared libraries for the old PostgreSQL C++ interface
Depends: postgresql82-shlibs
Replaces: <<
postgresql73-shlibs,
postgresql73-ssl-shlibs,
postgresql73-unified-shlibs,
postgresql74-shlibs,
postgresql74-ssl-shlibs,
postgresql74-unified-shlibs,
postgresql80-shlibs,
postgresql80-ssl-shlibs,
postgresql80-unified-shlibs,
postgresql81-shlibs
<<
Files: lib/libpqxx.*.dylib
Shlibs: %p/lib/libpqxx.0.dylib 1.0.0 %n (>= 1.5.1-1)
<<
Homepage: http://gborg.postgresql.org/project/libpqxx/
DescDetail: <<
Welcome to libpqxx, a C++ API to the PostgreSQL database management system.
There are many similar libraries for PostgreSQL and for other databases,
some of them database-independent. Most of these, however, are fairly
C-like in their programming style, and fail to take advantage of the full
power of the C++ language as it has matured since the acceptance of the
Standard in 1996. What libpqxx brings you is effective use of templates to
reduce the inconvenience of dealing with type conversions; of standard C++
strings to keep you from having to worry about buffer allocation and
overflow attacks; of exceptions to take the tedious and error-prone
plumbing around error handling out of your hands; of constructors and
destructors to bring resource management under control; and even basic
object-orientation to give you some extra reliability features that would
be hard to get with most other database interfaces.
<<
--- libpqxx-2.2.3/configure Mon May 10 08:37:31 2004
+++ libpqxx-2.2.3-new/configure Sun May 16 13:09:30 2004
@@ -19832,7 +19832,8 @@
{ echo "$as_me:$LINENO: using PostgreSQL libraries at $with_postgres_lib" >&5
echo "$as_me: using PostgreSQL libraries at $with_postgres_lib" >&6;}
-
+with_postgres_include="@INSTPREFIX@/include/postgresql"
+with_postgres_lib="@INSTPREFIX@/lib"
POSTGRES_LIB="-L${with_postgres_lib} -R${with_postgres_lib} -lpq"