aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-02-25 18:14:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-25 17:53:01 +0000
commit5ecba3fa5e15e1d329aa1e68349d134db450d383 (patch)
tree2a81c9e7e56763d71f5935ed8f396b9997985ed6 /meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
parent19af3ac53690b1bd2fee54827090f59c525d2236 (diff)
downloadopenembedded-core-5ecba3fa5e15e1d329aa1e68349d134db450d383.tar.gz
openembedded-core-5ecba3fa5e15e1d329aa1e68349d134db450d383.tar.bz2
openembedded-core-5ecba3fa5e15e1d329aa1e68349d134db450d383.zip
sqlite: rename to match upstream versioning
Since we are re-doing the version from a big number down to a dot based number we have to bump the Package Epoch (PE). Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb')
-rw-r--r--meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
new file mode 100644
index 0000000000..4f15f5d3d3
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
@@ -0,0 +1,21 @@
+require sqlite3.inc
+
+LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
+
+def sqlite_download_version(d):
+ pvsplit = d.getVar('PV', True).split('.')
+ return pvsplit[0] + ''.join([part.rjust(2,'0') for part in pvsplit[1:]])
+
+PE = "1"
+SQLITE_PV = "${@sqlite_download_version(d)}"
+SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${SQLITE_PV}.tar.gz"
+
+SRC_URI[md5sum] = "509ff98d8dc9729b618b7e96612079c6"
+SRC_URI[sha256sum] = "de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c"
+
+S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
+
+# Provide column meta-data API
+BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
+TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
+