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). (From OE-Core rev: 5ecba3fa5e15e1d329aa1e68349d134db450d383) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3ab2b7f10c
commit
9a2717faad
|
@ -2,12 +2,18 @@ require sqlite3.inc
|
|||
|
||||
LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
|
||||
|
||||
SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${PV}.tar.gz"
|
||||
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-${PV}"
|
||||
S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
|
||||
|
||||
# Provide column meta-data API
|
||||
BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
|
Loading…
Reference in New Issue