Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/database
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv21362

Modified Files:
        sqlite3.info 
Added Files:
        sqlite3-3.7.2.info 
Log Message:
Move to stable.


--- NEW FILE: sqlite3-3.7.2.info ---
Package: sqlite3
Version: 3.7.2
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.
<<
DescPort: <<
  TCLLIBPATH is unset during the build to avoid it using other TK 
  program's directories as the install location.

  Initial port by Pepe Barbe <pepe.ba...@gmail.com>
<<

License: Public Domain 
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
Homepage: http://www.sqlite.org/

DocFiles: README VERSION LICENSE

Source: http://sqlite.org/sqlite-%v.tar.gz
Source-MD5: 5f1853c4c1eba3330b6104f274918673

# Patch so that 'make test' works
PatchScript: <<
        sed -i.bak -e 's,DTCLSH=2,DTCLSH=1,' Makefile.in
        head -n 10 src/sqlite.h.in > LICENSE
<<
ConfigureParams: --with-tcl=%p/lib TCLLIBDIR=%p/lib/tcl/%n --enable-threadsafe 
--enable-load-extension
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include/readline
SetCFLAGS: -Os -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY
# Compiling with the -D flags is needed for libgda (first) and 
seamonkey-2.1alpha (3 others)

Depends: %N-shlibs (= %v-%r), readline5-shlibs (>= 5.0-1004)
BuildDepends: readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006), 
tcltk, tcltk-dev, fink (>= 0.28)
# Does NOT conflict with package sqlite
BuildConflicts: lclint
# lclint installs %p/lib/Makefile, which leads configure to believe
# it has to use tcltk from its builddir, hence failure

CompileScript: <<
    #!/bin/sh -ev
        # On 10.4, libSystem does not contain _gethostuuid  :
    if [ `sw_vers -productVersion|cut -f2 -d.` -lt 5 ] ; then export 
CFLAGS="-DSQLITE_ENABLE_LOCKING_STYLE=0 $CFLAGS" ; fi
    unset TCLLIBPATH
    config_TARGET_READLINE_LIBS='-L%p/lib -lreadline -lncurses' \
        ./configure %c
    make
    make sqlite3_analyzer
<<

InfoTest: <<
    TestScript: make test || exit 2
    # Some NaN self-test failures on PPC. See:
    # http://www.sqlite.org/cvstrac/tktview?tn=3404,35
    # Also : "Tests do not work when run as root"
<<

InstallScript: <<
    #!/bin/sh -ev
    make install DESTDIR=%d
    cp -r sqlite3_analyzer %i/bin
##  %p/lib/tcl is a symlink belonging to tcltk, do not overwrite it with a dir
## (Else everything goes wrong e.g. when tcltk is reinstalled after sqlite3).
##  And target differs according to arch/sw_vers, thus need readlink 
    link=`readlink %p/lib/tcl`
    mkdir -p %i/lib/$link
    mv %i/lib/tcl/sqlite3 %i/lib/$link
    rmdir %i/lib/tcl
    cd  %i/lib/${link}/sqlite3
    ln -s libtclsqlite3.dylib libtclsqlite3.0.dylib
<<

SplitOff: << 
    Package: %N-shlibs
    Description: Embedded SQL database (shared libraries)
    DocFiles: VERSION LICENSE
    Shlibs: %p/lib/libsqlite3.0.dylib 9.0.0 %n (>= 3.0.8-1)
    Files: 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

    # lib/libsqlite3.dylib accidentally placed in %N for a time
    Replaces: %N (<< 3.6.9-1003)

    DocFiles: VERSION 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
    Conflicts: %N-tcltk
    Replaces: %N-tcltk
    DocFiles: VERSION LICENSE
    Shlibs: <<
        !%p/lib/tcl/sqlite3/libtclsqlite3.dylib
        !%p/lib/tcl/sqlite3/libtclsqlite3.0.dylib
    <<
    Files: lib/tcl*
<<

SplitOff5: <<
    Package: %N-analyzer
    Description: SQLite3 analyzer program
    Depends: %N-tcl
    DocFiles: VERSION LICENSE
    Files: %p/bin/sqlite3_analyzer
<<

Index: sqlite3.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/database/sqlite3.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- sqlite3.info        29 Sep 2010 09:30:50 -0000      1.8
+++ sqlite3.info        25 Oct 2010 21:59:10 -0000      1.9
@@ -1,6 +1,6 @@
 Package: sqlite3
-Version: 3.6.13
-Revision: 4
+Version: 3.7.3
+Revision: 1
 
 Description: Embedded SQL database, version 3
 DescDetail: <<
@@ -12,37 +12,32 @@
 use the SQLite library.
 <<
 DescPort: <<
-  TCLLIBPATH is unset during the build to avoid it using other TK 
-  program's directories as the install location.
-
-  Initial port by Pepe Barbe <pepe.ba...@gmail.com>
+       Drop the sqlite3-tcl and -analyzer packages since nothing uses them.
+       This lets us drop the tcl deps. Also use system's editline instead
+       of readline5 which drops the readline5 and libncurses5 deps.
+       
+       Initial port by Pepe Barbe <pepe.ba...@gmail.com>
 <<
 
 License: Public Domain 
-Maintainer: None <fink-de...@lists.sourceforge.net>
+Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
 Homepage: http://www.sqlite.org/
 
-DocFiles: README VERSION LICENSE
+DocFiles: README LICENSE
 
-Source: http://sqlite.org/sqlite-%v.tar.gz
-Source-MD5: 652a01797e7538811e4997a5847bc026
+Source: http://sqlite.org/sqlite-amalgamation-%v.tar.gz
+Source-MD5: 74fe78b264f1c434c4b159d45b78e9b7
+SourceDirectory: sqlite-%v
 
-# 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).
-PatchFile: %n.patch
-PatchFile-MD5: a2b5800ef97ad3462a0b239e16048016
-PatchScript: <<
-       %{default_script}
-       head -n 10 src/sqlite.h.in > LICENSE
-<<
-ConfigureParams: --with-tcl=%p/lib TCLLIBDIR=%p/lib/tcl8.4/%n 
--enable-threadsafe --enable-load-extension
 NoSetCPPFLAGS: true
-SetCPPFLAGS: -I%p/include/readline
-SetCFLAGS: -Os -DSQLITE_ENABLE_COLUMN_METADATA=1
-# Compiling with the -D flag is needed for libgda
+NoSetLDFLAGS: true
+SetCFLAGS: -Os -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY
+# Compiling with the -D flags is needed for libgda (first) and 
seamonkey-2.1alpha (3 others)
 
-Depends: %N-shlibs (= %v-%r), readline5-shlibs (>= 5.0-1004)
-BuildDepends: readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006), 
tcltk (<< 8.5), tcltk-dev (<< 8.5), fink (>= 0.28)
+ConfigureParams: --disable-dependency-tracking --disable-static
+
+Depends: %N-shlibs (= %v-%r)
+BuildDepends: fink (>= 0.28)
 # Does NOT conflict with package sqlite
 BuildConflicts: lclint
 # lclint installs %p/lib/Makefile, which leads configure to believe
@@ -50,36 +45,22 @@
 
 CompileScript: <<
     #!/bin/sh -ev
-    unset TCLLIBPATH
-    config_TARGET_READLINE_LIBS='-L%p/lib -lreadline -lncurses' \
-        ./configure %c
-#    sed -i.bak -e s,'$(libdir)/sqlite','$(libdir)/tcl8.4/sqlite3', Makefile
-    make
-    make sqlite3_analyzer
-<<
-
-InfoTest: <<
-    TestScript: make test || exit 2
-    # Some NaN self-test failures on PPC. See:
-    # http://www.sqlite.org/cvstrac/tktview?tn=3404,35
+       # On 10.4, libSystem does not contain _gethostuuid  :
+    if [ `sw_vers -productVersion|cut -f2 -d.` -lt 5 ] ; then export 
CFLAGS="-DSQLITE_ENABLE_LOCKING_STYLE=0 $CFLAGS" ; fi
+    F77=no %{default_script}
+    /usr/bin/head sqlite3.h >LICENSE
 <<
 
 InstallScript: <<
-    #!/bin/sh -ev
     make install DESTDIR=%d
-    #perl -i -pe 's,%i,%p,g' %i/lib/tcl8.4/sqlite3/pkgIndex.tcl
-    cp -r sqlite3_analyzer %i/bin
-    
-    cd  %i/lib/tcl8.4/sqlite3/
-    ln -s libtclsqlite3.dylib libtclsqlite3.0.dylib
 <<
 
 SplitOff: << 
     Package: %N-shlibs
     Description: Embedded SQL database (shared libraries)
-    DocFiles: VERSION LICENSE
+    DocFiles: README LICENSE
     Shlibs: %p/lib/libsqlite3.0.dylib 9.0.0 %n (>= 3.0.8-1)
-    Files: lib/libsqlite3.0.dylib
+    Files: lib/libsqlite3.0*dylib
 <<
 
 SplitOff2: << 
@@ -91,35 +72,12 @@
     # lib/libsqlite3.dylib accidentally placed in %N for a time
     Replaces: %N (<< 3.6.9-1003)
 
-    DocFiles: VERSION LICENSE
+    DocFiles: README 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: VERSION LICENSE
-    Shlibs: <<
-        !%p/lib/tcl8.4/sqlite3/libtclsqlite3.dylib
-        !%p/lib/tcl8.4/sqlite3/libtclsqlite3.0.dylib
-    <<
-    Files: lib/tcl8.4
-<<
-
-SplitOff5: <<
-    Package: %N-analyzer
-    Description: SQLite3 analyzer program
-    Depends: %N-tcl
-    DocFiles: VERSION LICENSE
-    Files: %p/bin/sqlite3_analyzer
-<<


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to