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

Modified Files:
        sqlite3.info 
Added Files:
        sqlite3-3.7.2.info 
Log Message:
Take over and update to new upstream. Keep 3.7.2 around in sqlite3-3.7.2.info 
for the -analyzer and -tcl splitoffs, but since nothing uses them, drop them 
going forward which eliminates a bunch of dependencies. In fact, we now have NO 
external dependencies at all!


--- NEW FILE: sqlite3-3.7.2.info ---
Package: sqlite3
Version: 3.7.2
Revision: 2

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 <[email protected]>
<<

License: Public Domain 
Maintainer: Daniel Johnson <[email protected]>
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/unstable/main/finkinfo/database/sqlite3.info,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- sqlite3.info        28 Sep 2010 23:11:32 -0000      1.24
+++ sqlite3.info        17 Oct 2010 16:06:15 -0000      1.25
@@ -1,6 +1,6 @@
 Package: sqlite3
-Version: 3.7.2
-Revision: 2
+Version: 3.7.3
+Revision: 1
 
 Description: Embedded SQL database, version 3
 DescDetail: <<
@@ -12,34 +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 <[email protected]>
+       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 <[email protected]>
 <<
 
 License: Public Domain 
-Maintainer: None <[email protected]>
+Maintainer: Daniel Johnson <[email protected]>
 Homepage: http://www.sqlite.org/
 
-DocFiles: README VERSION LICENSE
+DocFiles: README LICENSE
 
-Source: http://sqlite.org/sqlite-%v.tar.gz
-Source-MD5: 5f1853c4c1eba3330b6104f274918673
+Source: http://sqlite.org/sqlite-amalgamation-%v.tar.gz
+Source-MD5: 74fe78b264f1c434c4b159d45b78e9b7
+SourceDirectory: sqlite-%v
 
-# 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
+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, tcltk-dev, 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
@@ -49,41 +47,20 @@
     #!/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"
+    F77=no %{default_script}
+    /usr/bin/head sqlite3.h >LICENSE
 <<
 
 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
+    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: << 
@@ -95,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
-    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
-<<


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to