[arch-commits] Commit in sqlite3/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Dec 30 11:21:46 UTC 2008


    Date: Tuesday, December 30, 2008 @ 06:21:46
  Author: andyrtr
Revision: 22970

upgpkg: sqlite3 3.6.7-2
    add some features, fixes #10968

Modified:
  sqlite3/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-12-30 11:01:51 UTC (rev 22969)
+++ PKGBUILD	2008-12-30 11:21:46 UTC (rev 22970)
@@ -4,7 +4,7 @@
 
 pkgname=sqlite3
 pkgver=3.6.7
-pkgrel=1
+pkgrel=2
 pkgdesc="A C library that implements an SQL database engine"
 arch=('i686' 'x86_64')
 license=('custom')
@@ -21,9 +21,14 @@
 
 build() {
   cd ${srcdir}/sqlite-${pkgver}
-  ./configure --prefix=/usr --enable-threadsafe  --disable-static || return 1
+  export LTLINK_EXTRAS="-ldl"
+  export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
+  ./configure --prefix=/usr \
+	--enable-threadsafe \
+	--disable-static \
+	--enable-load-extension || return 1
   make || return 1
-  make DESTDIR=${pkgdir} install
+  make DESTDIR=${pkgdir} install || return 1
   install -Dm0644 sqlite3.1 ${pkgdir}/usr/share/man/man1/sqlite3.1
 
   # license




More information about the arch-commits mailing list