diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
commit | 9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch) | |
tree | ae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /sqlite3/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2 nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip |
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'sqlite3/Pkgfile')
-rw-r--r-- | sqlite3/Pkgfile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sqlite3/Pkgfile b/sqlite3/Pkgfile new file mode 100644 index 000000000..483cfc067 --- /dev/null +++ b/sqlite3/Pkgfile @@ -0,0 +1,55 @@ +# Description: Librairie C qui implémente un moteur de base de données SQL +# URL: http://www.sqlite.org/ +# Maintainer: NuTyX core +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=sqlite3 +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() { + 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 + 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 + +# 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 +} + |