Patchwork [1/2] sqlite: Add version 3.7.15.2

login
register
mail settings
Submitter Jacob Kjaergaard
Date March 19, 2013, 10:28 a.m.
Message ID <6f48c213fa51e8efd62d7c1a8b57443dfdc443d5.1363688905.git.jacob.kjaergaard@prevas.dk>
Download mbox | patch
Permalink /patch/228989/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Jacob Kjaergaard - March 19, 2013, 10:28 a.m.
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk>

---
 recipes/sqlite/sqlite3_3.7.15.2.oe     |   14 ++++++++++++++
 recipes/sqlite/sqlite3_3.7.15.2.oe.sig |    1 +
 2 files changed, 15 insertions(+)
 create mode 100644 recipes/sqlite/sqlite3_3.7.15.2.oe
 create mode 100644 recipes/sqlite/sqlite3_3.7.15.2.oe.sig

Patch

diff --git a/recipes/sqlite/sqlite3_3.7.15.2.oe b/recipes/sqlite/sqlite3_3.7.15.2.oe
new file mode 100644
index 0000000..27cca5e
--- /dev/null
+++ b/recipes/sqlite/sqlite3_3.7.15.2.oe
@@ -0,0 +1,14 @@ 
+LICENSE = "custom"
+
+require sqlite3.inc
+
+addhook sqlite3_file_version_mangle to post_recipe_parse first
+def sqlite3_file_version_mangle(d):
+    pv = map(int, d.get("PV").split("."))
+    while len(pv) < 4:
+        pv.append(0)
+    pv_mangled = "%d%02d%02d%02d"%tuple(pv)
+    d.set("PV_MANGLED", pv_mangled)
+
+SRC_URI = "http://www.sqlite.org/sqlite-autoconf-${PV_MANGLED}.tar.gz"
+S = "${SRCDIR}/sqlite-autoconf-${PV_MANGLED}"
diff --git a/recipes/sqlite/sqlite3_3.7.15.2.oe.sig b/recipes/sqlite/sqlite3_3.7.15.2.oe.sig
new file mode 100644
index 0000000..2dfefa4
--- /dev/null
+++ b/recipes/sqlite/sqlite3_3.7.15.2.oe.sig
@@ -0,0 +1 @@ 
+075732562183d560cd46a0d8d08b50bc44e34eac  sqlite-autoconf-3071502.tar.gz