source: trunk/dports/databases/sqlite3/Portfile @ 46961

Last change on this file since 46961 was 46961, checked in by mww@…, 11 years ago

version 3.6.11

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 46961 2009-02-18 12:44:43Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    sqlite3
6version                 3.6.11
7categories              databases
8platforms               darwin
9maintainers             mww
10description             an embedded SQL database engine
11long_description        SQLite3 is an SQL database engine in a C library. \
12                                Programs that link the SQLite3 library can have SQL \
13                                database access without running a separate RDBMS \
14                                process. The distribution comes with a standalone \
15                                command-line access program (sqlite3) that can be used \
16                                to administer an SQLite3 database and which serves as \
17                                an example of how to use the SQLite3 library.
18
19homepage                http://www.sqlite.org/
20master_sites    ${homepage}
21distname                sqlite-${version}
22dist_subdir             ${name}/${version}
23checksums           md5     7ebb099696ab76cc6ff65dd496d17858 \
24                    sha1    bd1c371784d990f7b5e99c841e58deb87fbf4b6e \
25                    rmd160  c38d82c83f5d64cfb302e3232c507bafb0b64e74
26
27depends_lib             port:readline
28
29# '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
30# '-lncurses' is needed to build universal on Tiger; see #15661
31configure.args  --enable-threadsafe --disable-tcl \
32                        --enable-load-extension \
33                        --with-readline-inc="-I${prefix}/include" \
34                        --with-readline-lib="-L${prefix}/lib -lreadline -lm -lncurses"
35# search in worksrcpath for sqlite3.h first -- dont pick up an installed one!
36configure.cppflags      "-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"
37
38use_parallel_build      no
39build.type              gnu
40
41test.run                yes
42test.target             test
43
44livecheck.check regex
45livecheck.url   http://www.sqlite.org/download.html
46livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.
47
48post-destroot {
49        xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
50}
51
52platform darwin 10 {
53        configure.compiler gcc-4.2
54}
Note: See TracBrowser for help on using the repository browser.