[crux-commits] ports/core (3.6): sqlite3: moved from opt to core, dependency of python3

crux at crux.nu crux at crux.nu
Fri Jun 26 12:09:26 UTC 2020


commit 29a3ff9d7b2f0d697b57d5c19b9fecfc3af11cf4
Author: Juergen Daubert <jue at jue.li>
Date:   Fri Jun 26 12:09:17 2020 +0000

    sqlite3: moved from opt to core, dependency of python3

diff --git a/sqlite3/.footprint b/sqlite3/.footprint
new file mode 100644
index 00000000..d1bb7eab
--- /dev/null
+++ b/sqlite3/.footprint
@@ -0,0 +1,18 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/sqlite3
+drwxr-xr-x	root/root	usr/include/
+-rw-r--r--	root/root	usr/include/sqlite3.h
+-rw-r--r--	root/root	usr/include/sqlite3ext.h
+drwxr-xr-x	root/root	usr/lib/
+-rw-r--r--	root/root	usr/lib/libsqlite3.a
+-rwxr-xr-x	root/root	usr/lib/libsqlite3.la
+lrwxrwxrwx	root/root	usr/lib/libsqlite3.so -> libsqlite3.so.0.8.6
+lrwxrwxrwx	root/root	usr/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6
+-rwxr-xr-x	root/root	usr/lib/libsqlite3.so.0.8.6
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/sqlite3.pc
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man1/
+-rw-r--r--	root/root	usr/share/man/man1/sqlite3.1.gz
diff --git a/sqlite3/.signature b/sqlite3/.signature
new file mode 100644
index 00000000..a4da3db1
--- /dev/null
+++ b/sqlite3/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/core.pub
+RWRJc1FUaeVeqkVSRGe4PLSAIee53ly6G1uE6SRsDPkPTLj4IZe8N7QJQd4YDGpzpliLCseQlKOdWTXiBRCl2hKoQhHZYDECZAU=
+SHA256 (Pkgfile) = c4b2f4b525c92c1a2b7ea2084cde72c6300588cd72ca5f80a78d041f0c0d2954
+SHA256 (.footprint) = 54d29bd72af140bd285f65d0e72b3ef8eb4279298c98354632552b41db701253
+SHA256 (sqlite-autoconf-3320300.tar.gz) = a31507123c1c2e3a210afec19525fd7b5bb1e19a6a34ae5b998fbd7302568b66
diff --git a/sqlite3/Pkgfile b/sqlite3/Pkgfile
new file mode 100644
index 00000000..25d9e2ea
--- /dev/null
+++ b/sqlite3/Pkgfile
@@ -0,0 +1,23 @@
+# Description: SQL database engine
+# URL:         https://www.sqlite.org/
+# Maintainer:  CRUX System Team, core-ports at crux dot nu
+# Depends on:  readline zlib
+
+name=sqlite3
+version=3.32.3
+release=1
+_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
+
+source=(https://www.sqlite.org/2020/sqlite-autoconf-${_version}.tar.gz)
+
+build () {
+    cd sqlite-autoconf-${_version}
+    
+    CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
+            -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
+            -DSQLITE_ENABLE_FTS3=1  $CFLAGS" \
+    ./configure --prefix=/usr --enable-readline
+    
+    make 
+    make DESTDIR=$PKG install
+}


More information about the crux-commits mailing list