summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-13 17:33:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-13 17:33:58 +0200
commit879be9db4f7fb285eb42a3f0479eaed457870097 (patch)
tree88cdcd827f51e80d21701ca71c975f51a079a1c1 /build
Initial packaging, based on SQLite 3.14.1
Diffstat (limited to 'build')
-rw-r--r--build/.gitignore1
-rw-r--r--build/bootstrap.build24
-rw-r--r--build/export.build9
-rw-r--r--build/root.build6
4 files changed, 40 insertions, 0 deletions
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..5bc2a95
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,24 @@
+# file : build/bootstrap.build
+# copyright : not copyrighted - public domain
+
+project = libsqlite3
+
+# SQLite releases usually have 3-component versions but once in a while they
+# will make a 4-component release for what appears to be important bug fixes
+# only. So instead of dragging the fourth component around (and confusing a
+# lot of people in the process) we will always have three components and will
+# handle an occasional bugfix release with a revision.
+#
+version = 3.14.1
+revision = 0
+
+using build@0.4.0-a1
+using config
+using dist
+using test
+using install
+
+dist.package = $project-$version
+
+if ($revision != 0)
+ dist.package += +$revision
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..dc450a5
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,9 @@
+# file : build/export.build
+# copyright : not copyrighted - public domain
+
+$out_root/:
+{
+ include ./
+}
+
+export $out_root/lib{sqlite3}
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..4d7fd53
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,6 @@
+# file : build/root.build
+# copyright : not copyrighted - public domain
+
+using c
+
+test/: install = false # Don't install tests.