diff --git a/config/pkg/lib/sqlite.yml b/config/pkg/lib/sqlite.yml new file mode 100644 index 00000000..fb6eecf3 --- /dev/null +++ b/config/pkg/lib/sqlite.yml @@ -0,0 +1,12 @@ +sqlite: + type: library + artifact: + source: 'https://www.sqlite.org/2024/sqlite-autoconf-3450200.tar.gz' + metadata: + license-files: ['@/sqlite.txt'] + license: Unlicense + headers: + - sqlite3.h + - sqlite3ext.h + static-libs@unix: + - libsqlite3.a diff --git a/src/Package/Library/sqlite.php b/src/Package/Library/sqlite.php new file mode 100644 index 00000000..ae802bfa --- /dev/null +++ b/src/Package/Library/sqlite.php @@ -0,0 +1,22 @@ +configure()->make(); + $lib->patchPkgconfPrefix(['sqlite3.pc']); + } +} diff --git a/src/globals/licenses/sqlite.txt b/src/globals/licenses/sqlite.txt new file mode 100644 index 00000000..f68a6c17 --- /dev/null +++ b/src/globals/licenses/sqlite.txt @@ -0,0 +1,6 @@ +The author disclaims copyright to this source code. In place of +a legal notice, here is a blessing: + + * May you do good and not evil. + * May you find forgiveness for yourself and forgive others. + * May you share freely, never taking more than you give.