Package: sqlite3 Version: 3.5.6 Revision: 3 Description: Embedded SQL database, version 3 DescDetail: << SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program ( sqlite ) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library. << License: Public Domain Maintainer: Victor Ganata Homepage: http://www.sqlite.org/ DescPort: << NOTE: This release has not been sanctioned by the Fink Project The current maintainer of the official Fink package is Pepe Barbe << Source: http://sqlite.org/sqlite-%v.tar.gz Source-MD5: 903c9e935c538af392364a9172a3d98d BuildDepends: readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006), tcltk (<< 8.5), tcltk-dev (<< 8.5) Depends: %N-shlibs (= %v-%r), readline5-shlibs (>= 5.0-1004) # Does NOT conflict with package sqlite # Patch so that 'make test' works and the lemon binary is buffer overflow # safe if we ever decide to install at (Debian and Ubuntu installs it). Patch: %n.patch PatchScript: << #!/bin/sh -ev head -n 10 src/sqlite.h.in > LICENSE find . -name "CVS" | xargs rm -rf << SetCPPFLAGS: -I%p/include/readline SetCFLAGS: -Os -DSQLITE_ENABLE_COLUMN_METADATA=1 # Compiling with the -D flag is needed for libgda ConfigureParams: --with-tcl=%p/lib --enable-threadsafe CompileScript: << #!/bin/sh -ev config_TARGET_READLINE_LIBS='-L%p/lib -lreadline -lncurses' \ ./configure %c make make sqlite3_analyzer make doc # Don't actually run the test suite, it's LONG # make fulltest << InstallScript: << #!/bin/sh -ev TCLLIBPATH=%p/lib/tcl8.4 make install DESTDIR=%d perl -i -pe 's,%i,%p,g' %i/lib/tcl8.4/sqlite3/pkgIndex.tcl cp .libs/sqlite3_analyzer %i/bin cd %i/lib/tcl8.4/sqlite3 mv libtclsqlite3.dylib libtclsqlite3.0.dylib ln -s libtclsqlite3.0.dylib libtclsqlite3.dylib << DocFiles: README VERSION www/copyright-release.html LICENSE SplitOff: << Package: %N-shlibs Description: Embedded SQL database (shared libraries) DocFiles: README VERSION www/copyright-release.html LICENSE Shlibs: %p/lib/libsqlite3.0.dylib 9.0.0 %n (>= 3.0.8-1) Files: lib/libsqlite3.0.8.6.dylib lib/libsqlite3.0.dylib << SplitOff2: << Package: %N-dev Description: Embedded SQL database (include files and linkable libraries) Depends: %N-shlibs (= %v-%r) # Does NOT conflict with sqlite-dev, strangely enough DocFiles: README VERSION www/copyright-release.html LICENSE BuildDependsOnly: True Files: << include lib/libsqlite3.la lib/libsqlite3.a lib/libsqlite3.dylib lib/pkgconfig << << SplitOff3: << Package: %N-tcl Description: Embedded SQL database (Tcl/Tk bindings) Depends: %N-shlibs (= %v-%r), tcltk (<< 8.5) Conflicts: %N-tcltk Replaces: %N-tcltk DocFiles: README VERSION www/copyright-release.html LICENSE Shlibs: << %p/lib/tcl8.4/sqlite3/libtclsqlite3.0.dylib 9.0.0 %n (>= 3.2.2-11) << Files: lib/tcl8.4 << SplitOff4: << Package: %N-doc Description: Embedded SQL database (HTML documentation) DocFiles: doc/* README VERSION www/copyright-release.html LICENSE << SplitOff5: << Package: %N-analyzer Description: SQLite3 analyzer program Depends: %N-tcl DocFiles: README VERSION www/copyright-release.html LICENSE files: %p/bin/sqlite3_analyzer <<