Contents of /trunk/core/sqlite/sqlite-3.7.11-r1.smage2
Parent Directory | Revision Log
Revision 11729 -
(show annotations)
(download)
Thu Mar 22 09:19:28 2012 UTC (12 years, 2 months ago) by niro
File size: 1062 byte(s)
Thu Mar 22 09:19:28 2012 UTC (12 years, 2 months ago) by niro
File size: 1062 byte(s)
auto added: ver bump to 3.7.11-r1
1 | # $Id$ |
2 | |
3 | PNAME="sqlite" |
4 | PVER="3.7.11" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-db" |
8 | |
9 | DESCRIPTION="SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine." |
10 | HOMEPAGE="http://www.sqlite.org/" |
11 | |
12 | DEPEND=">= sys-libs/readline-6.2" |
13 | |
14 | if [[ ${PVER##*.} -gt 9 ]] |
15 | then |
16 | __major_pver="${PVER%.*}" |
17 | __minor_pver="${PVER##*.}" |
18 | UPSTREAM_PVER="${__major_pver//./0}${__minor_pver}" |
19 | else |
20 | UPSTREAM_PVER="${PVER//./0}" |
21 | fi |
22 | [[ ${#UPSTREAM_PVER} -lt 7 ]] && UPSTREAM_PVER+="00" |
23 | SRCFILE="${PNAME}-autoconf-${UPSTREAM_PVER}.tar.gz" # a special srcfile is needed to build without tcl |
24 | SRCDIR="${BUILDDIR}/${PNAME}-autoconf-${UPSTREAM_PVER}" |
25 | |
26 | sminclude multilib |
27 | |
28 | SRC_URI=( |
29 | http://www.sqlite.org/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd http://www.sqlite.org | grep -A2 Current | sed -n 's/.*Version \(.*\) of.*/\1/;$ p'" |
34 | |
35 | src_compile() |
36 | { |
37 | mconfigure \ |
38 | --enable-load-extension \ |
39 | --enable-readline \ |
40 | --enable-cross-thread-connections \ |
41 | --enable-threadsafe \ |
42 | --disable-tcl \ |
43 | --disable-debug \ |
44 | || die |
45 | |
46 | mmake || die |
47 | } |