sqlite: update to 3.7.5.

This commit is contained in:
Juan RP 2011-04-08 18:09:30 +02:00
parent 0977fc6063
commit 65e44288f6
2 changed files with 31 additions and 12 deletions

View file

@ -12,5 +12,5 @@ Add_dependency run tcl
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/tcl* ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/sqlite* ${DESTDIR}/usr/lib
} }

View file

@ -1,14 +1,18 @@
# Template build file for 'sqlite'. # Template build file for 'sqlite'.
pkgname=sqlite pkgname=sqlite
version=3.7.3 version=3.7.5
distfiles="http://sqlite.org/$pkgname-$version.tar.gz" _amalgamationver=3070500
build_style=gnu_configure wrksrc=sqlite
configure_env="LIBS=-ldl" create_wrksrc=yes
configure_args="--enable-load-extension --enable-threadsafe distfiles="
--enable-threads-override-locks --enable-cross-thread-connections" 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" short_desc="SQL Database Engine in a C Library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=dbf352e8fbb74829f5e7a88f9f6ceeb80a709537f668c36e4b6cdfb271309ef6 checksum="
cb5b86926ec9f65882b2dddd244f2d620337d911ec73411863f77e48cf6a2f94
7404ea2d1e6e623e2dfedc3bba4f81d4a7a65e69844a2ab8fbdfb8f4067401a7"
long_desc=" long_desc="
SQLite is a C library that implements an SQL database engine. Programs SQLite is a C library that implements an SQL database engine. Programs
that link with the SQLite library can have SQL database access without 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 readline-devel
Add_dependency build tcl-devel Add_dependency build tcl-devel
post_install() do_build()
{ {
# Install the manpage export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 \
install -D -m644 ${wrksrc}/sqlite3.1 \ -DSQLITE_ENABLE_COLUMN_METADATA=1 \
${DESTDIR}/usr/share/man/man1/sqlite3.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
} }