the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libpgeasy
Version: 3.0.4
Revision: 1022
Description: Easy-to-use C interface to PostgreSQL
License: BSD
Maintainer: None
Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
postgresql82-dev,
system-openssl-dev
<<
Replaces: <<
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/pgeasy/stable/%n-%v.tar.gz
Source-MD5: 5aaf078d069c8878588cd2bc7c3a5bc5
ConfigureParams: --with-pqinclude=%p/include/postgresql --with-pqlib=%p/lib
CompileScript: <<
#!/bin/sh -ev
export lt_cv_sys_max_cmd_len=65536
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
<<
InstallScript: <<
#!/bin/sh -ev
make -j1 install DESTDIR="%d"
install -d -m 755 %i/share/doc/%N
mv docs/*.html examples %i/share/doc/%N/
find %i/share/doc/%N -type d -name CVS -exec rm -rf {} \; || :
<<
DocFiles: CHANGES README
SplitOff: <<
Package: %N-shlibs
Description: Shared libraries for the PostgreSQL easy 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/libpgeasy.*.dylib
Shlibs: %p/lib/libpgeasy.3.dylib 4.0.0 %n (>= 3.0.4-1)
<<
Homepage: http://gborg.postgresql.org/project/pgeasy/
DescDetail: <<
Pgeasy is a PostgreSQL API that is a cleaner interface to the libpq
library, more like an SQL 4GL interface.
<<