diff options
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3_3.9.2.bb')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3_3.9.2.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3_3.9.2.bb b/meta/recipes-support/sqlite/sqlite3_3.9.2.bb new file mode 100644 index 0000000000..83685e0fa3 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3_3.9.2.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | require sqlite3.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0" | ||
4 | |||
5 | def sqlite_download_version(d): | ||
6 | pvsplit = d.getVar('PV', True).split('.') | ||
7 | if len(pvsplit) < 4: | ||
8 | pvsplit.append('0') | ||
9 | return pvsplit[0] + ''.join([part.rjust(2,'0') for part in pvsplit[1:]]) | ||
10 | |||
11 | PE = "3" | ||
12 | SQLITE_PV = "${@sqlite_download_version(d)}" | ||
13 | SRC_URI = "http://www.sqlite.org/2015/sqlite-autoconf-${SQLITE_PV}.tar.gz" | ||
14 | |||
15 | SRC_URI[md5sum] = "bc4eb5b3fc5cfcb6e059794306cac1ca" | ||
16 | SRC_URI[sha256sum] = "064c0abe9c9177534d4c770bca7a5902f9924b629ac886b4c08956be6dfbc36b" | ||
17 | |||
18 | S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}" | ||
19 | |||
20 | # Provide column meta-data API | ||
21 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
22 | TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||