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

Last change on this file since 52402 was 52402, checked in by toby@…, 10 years ago

#19957 (sqlite3 update to 3.6.15)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 52402 2009-06-15 23:59:33Z toby@macports.org $
2
3PortSystem 1.0
4
5name                    sqlite3
6version                 3.6.15
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     ccde887ffc8a26251f3514d54594ff92 \
24                    sha1    e1592b5ba35c40fbcb2cb8dc0cab669cfde04dd3 \
25                    rmd160  affa2d8b7e29a758171fe7d2cd54534cdaaca104
26
27depends_lib             port:readline \
28                                port:ncurses
29
30# '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
31# '-lncurses' is needed to build universal on Tiger; see #15661
32configure.args  --enable-threadsafe --disable-tcl \
33                        --enable-load-extension \
34                        --with-readline-inc="-I${prefix}/include" \
35                        --with-readline-lib="-L${prefix}/lib -lreadline -lm -lncurses"
36# search in worksrcpath for sqlite3.h first -- dont pick up an installed one!
37configure.cppflags      "-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include"
38
39use_parallel_build      no
40build.type              gnu
41
42test.run                yes
43test.target             test
44
45livecheck.check regex
46livecheck.url   http://www.sqlite.org/download.html
47livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.
48
49post-destroot {
50        xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
51}
52
53platform darwin 10 {
54        configure.compiler gcc-4.2
55}
Note: See TracBrowser for help on using the repository browser.