sqlite: update to 3.7.5.
This commit is contained in:
parent
0977fc6063
commit
65e44288f6
2 changed files with 31 additions and 12 deletions
|
@ -12,5 +12,5 @@ Add_dependency run tcl
|
|||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/tcl* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/sqlite* ${DESTDIR}/usr/lib
|
||||
}
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
# Template build file for 'sqlite'.
|
||||
pkgname=sqlite
|
||||
version=3.7.3
|
||||
distfiles="http://sqlite.org/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_env="LIBS=-ldl"
|
||||
configure_args="--enable-load-extension --enable-threadsafe
|
||||
--enable-threads-override-locks --enable-cross-thread-connections"
|
||||
version=3.7.5
|
||||
_amalgamationver=3070500
|
||||
wrksrc=sqlite
|
||||
create_wrksrc=yes
|
||||
distfiles="
|
||||
http://www.sqlite.org/sqlite-autoconf-${_amalgamationver}.tar.gz
|
||||
http://www.sqlite.org/sqlite-tea-${_amalgamationver}.tar.gz"
|
||||
build_style=custom-install
|
||||
short_desc="SQL Database Engine in a C Library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=dbf352e8fbb74829f5e7a88f9f6ceeb80a709537f668c36e4b6cdfb271309ef6
|
||||
checksum="
|
||||
cb5b86926ec9f65882b2dddd244f2d620337d911ec73411863f77e48cf6a2f94
|
||||
7404ea2d1e6e623e2dfedc3bba4f81d4a7a65e69844a2ab8fbdfb8f4067401a7"
|
||||
long_desc="
|
||||
SQLite is a C library that implements an SQL database engine. Programs
|
||||
that link with the SQLite library can have SQL database access without
|
||||
|
@ -27,9 +31,24 @@ Add_dependency run readline
|
|||
Add_dependency build readline-devel
|
||||
Add_dependency build tcl-devel
|
||||
|
||||
post_install()
|
||||
do_build()
|
||||
{
|
||||
# Install the manpage
|
||||
install -D -m644 ${wrksrc}/sqlite3.1 \
|
||||
${DESTDIR}/usr/share/man/man1/sqlite3.1
|
||||
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
|
||||
cd ${wrksrc}/sqlite-autoconf-${_amalgamationver}
|
||||
./configure --prefix=/usr
|
||||
make ${makejobs}
|
||||
|
||||
cd ${wrksrc}/sqlite-tea-${_amalgamationver}
|
||||
./configure --prefix=/usr --with-system-sqlite
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
cd ${wrksrc}/sqlite-autoconf-${_amalgamationver}
|
||||
make DESTDIR=${DESTDIR} install
|
||||
cd ${wrksrc}/sqlite-tea-${_amalgamationver}
|
||||
make DESTDIR=${DESTDIR} install
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue