Magellan Linux

Contents of /smage/branches/alx-0_6_0/extras/sqlite/sqlite-3.7.7.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2662 - (show annotations) (download)
Mon Jul 11 11:41:01 2011 UTC (12 years, 11 months ago) by niro
File size: 912 byte(s)
-alxify
1 # $Id$
2
3 PNAME="sqlite"
4 PVER="3.7.7.1"
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=""
13
14 UPSTREAM_PVER="${PVER//./0}"
15 SRCFILE="${PNAME}-autoconf-${UPSTREAM_PVER}.tar.gz" # a special srcfile is needed to build without tcl
16 SRCDIR="${BUILDDIR}/${PNAME}-autoconf-${UPSTREAM_PVER}"
17
18 ALX_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*"
19 sminclude multilib alx-split
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 --disable-readline \
33 --enable-cross-thread-connections \
34 --enable-threadsafe \
35 --disable-tcl \
36 --disable-debug \
37 || die
38
39 mmake || die
40 }