diff options
Diffstat (limited to 'meta/recipes-support/sqlite')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb (renamed from meta/recipes-support/sqlite/sqlite3_3080301.bb) | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3_3080301.bb b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb index 8ed01a923a..4f15f5d3d3 100644 --- a/meta/recipes-support/sqlite/sqlite3_3080301.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb | |||
@@ -2,12 +2,18 @@ require sqlite3.inc | |||
2 | 2 | ||
3 | LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0" | 3 | LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0" |
4 | 4 | ||
5 | SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${PV}.tar.gz" | 5 | def sqlite_download_version(d): |
6 | pvsplit = d.getVar('PV', True).split('.') | ||
7 | return pvsplit[0] + ''.join([part.rjust(2,'0') for part in pvsplit[1:]]) | ||
8 | |||
9 | PE = "1" | ||
10 | SQLITE_PV = "${@sqlite_download_version(d)}" | ||
11 | SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${SQLITE_PV}.tar.gz" | ||
6 | 12 | ||
7 | SRC_URI[md5sum] = "509ff98d8dc9729b618b7e96612079c6" | 13 | SRC_URI[md5sum] = "509ff98d8dc9729b618b7e96612079c6" |
8 | SRC_URI[sha256sum] = "de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c" | 14 | SRC_URI[sha256sum] = "de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c" |
9 | 15 | ||
10 | S = "${WORKDIR}/sqlite-autoconf-${PV}" | 16 | S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}" |
11 | 17 | ||
12 | # Provide column meta-data API | 18 | # Provide column meta-data API |
13 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | 19 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" |