summaryrefslogtreecommitdiffstats
path: root/base/sqlite3/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-25 13:28:32 +0100
committersibel <lesibel@free.fr>2011-03-25 13:28:32 +0100
commitde2acb6799083931fae9ab1360d267cc289b298e (patch)
treee7228e6bf5724928d4b02b319f9a8f3a3d08717a /base/sqlite3/Pkgfile
parent05fb706fc0571eb70d9e100dea3d2882bfebd090 (diff)
downloadnutyx-pakxe-de2acb6799083931fae9ab1360d267cc289b298e.tar.gz
nutyx-pakxe-de2acb6799083931fae9ab1360d267cc289b298e.tar.bz2
nutyx-pakxe-de2acb6799083931fae9ab1360d267cc289b298e.tar.xz
nutyx-pakxe-de2acb6799083931fae9ab1360d267cc289b298e.zip
sqlite3, maj 3.7.5-1
Diffstat (limited to 'base/sqlite3/Pkgfile')
-rw-r--r--base/sqlite3/Pkgfile55
1 files changed, 43 insertions, 12 deletions
diff --git a/base/sqlite3/Pkgfile b/base/sqlite3/Pkgfile
index 6ada22e37..483cfc067 100644
--- a/base/sqlite3/Pkgfile
+++ b/base/sqlite3/Pkgfile
@@ -2,23 +2,54 @@
# URL: http://www.sqlite.org/
# Maintainer: NuTyX core
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
+# Depends on:
name=sqlite3
-version=3.7.3
-release=2
-source=(http://www.sqlite.org/sqlite-$version.tar.gz)
+version=3.7.5
+release=1
+
+_amalgamationver=3070500
+_amalgamationver2=${_amalgamationver/00/}
+pkgver=${_amalgamationver2//0/.}
+
+#source=(http://www.sqlite.org/sqlite-$version.tar.gz)
+source=(http://www.sqlite.org/sqlite-autoconf-$_amalgamationver.tar.gz
+ http://www.sqlite.org/sqlite-tea-$_amalgamationver.tar.gz
+ http://www.sqlite.org/sqlite-doc-${_amalgamationver}.zip )
build() {
- cd sqlite-$version
- CFLAGS="-O2 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" \
- ./configure --prefix=/usr \
+ export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
+
+ cd $SRC/sqlite-autoconf-$_amalgamationver
+ ./configure --prefix=/usr \
+ --enable-static \
--enable-threadsafe \
- --enable-readline \
- --enable-dynamic-extensions
- make
+ --enable-readline \
+ --enable-dynamic-extensions
+
+ make
+ make DESTDIR=$PKG install
+
+ cd $SRC/sqlite-tea-$_amalgamationver
+ ./configure --prefix=/usr \
+ --with-system-sqlite \
+ --enable-static \
+ --enable-threadsafe \
+ --enable-readline \
+ --enable-dynamic-extensions
+
+ make
make DESTDIR=$PKG install
- install -d $PKG/usr/share/man/man1
- install -m 644 sqlite3.1 $PKG/usr/share/man/man1
+
+# cd sqlite*
+# CFLAGS="-O2 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" \
+# ./configure --prefix=/usr \
+# --enable-threadsafe \
+# --enable-readline \
+# --enable-dynamic-extensions
+# make
+# make DESTDIR=$PKG install
+# install -d $PKG/usr/share/man/man1
+# install -m 644 sqlite3.1 $PKG/usr/share/man/man1
}