summaryrefslogtreecommitdiffstats
path: root/base/sqlite3/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/sqlite3/Pkgfile')
-rw-r--r--base/sqlite3/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/base/sqlite3/Pkgfile b/base/sqlite3/Pkgfile
new file mode 100644
index 000000000..5ee787ffd
--- /dev/null
+++ b/base/sqlite3/Pkgfile
@@ -0,0 +1,23 @@
+# 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.3
+release=1
+source=(http://www.sqlite.org/sqlite-$version.tar.gz)
+
+build() {
+ export LTLINK_EXTRAS="-ldl"
+ export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
+ cd sqlite-$version
+ ./configure --prefix=/usr \
+ --enable-threadsafe
+ make
+ make DESTDIR=$PKG install
+ install -d $PKG/usr/share/man/man1
+ install -m 644 sqlite3.1 $PKG/usr/share/man/man1
+}
+