Magellan Linux

Contents of /branches/magellan-next/core/sqlite/sqlite-3.7.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9096 - (show annotations) (download)
Wed Nov 2 16:25:18 2011 UTC (12 years, 5 months ago) by niro
File size: 918 byte(s)
auto added: ver bump to 3.7.9-r1
1 # $Id$
2
3 PNAME="sqlite"
4 PVER="3.7.9"
5 PBUILD="r1"
6
7 PCATEGORIE="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 UPSTREAM_PVER="${PVER//./0}"
15 [[ ${#UPSTREAM_PVER} -lt 7 ]] && UPSTREAM_PVER+="00"
16 SRCFILE="${PNAME}-autoconf-${UPSTREAM_PVER}.tar.gz" # a special srcfile is needed to build without tcl
17 SRCDIR="${BUILDDIR}/${PNAME}-autoconf-${UPSTREAM_PVER}"
18
19 sminclude multilib
20
21 SRC_URI=(
22 http://www.sqlite.org/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd http://www.sqlite.org | grep -A2 Current | sed -n 's/.*Version \(.*\) of.*/\1/;$ p'"
27
28 src_compile()
29 {
30 mconfigure \
31 --enable-load-extension \
32 --enable-readline \
33 --enable-cross-thread-connections \
34 --enable-threadsafe \
35 --disable-tcl \
36 --disable-debug \
37 || die
38
39 mmake || die
40 }