diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-01-13 12:46:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:07 +0000 |
commit | f9974f2a612b6b8929130a4e35dd554c0f1e068f (patch) | |
tree | 102c46454e2e060419fc3c01293effc84cad7e6d /meta/recipes-support/sqlite/sqlite3_3.10.0.bb | |
parent | cd7910df1d8c0f8996fc1af0b372bfad23d58c34 (diff) | |
download | poky-f9974f2a612b6b8929130a4e35dd554c0f1e068f.tar.gz |
sqlite3: upgrade to version 3.10.0
3.9.2 -> 3.10.0
1. Fixed a parallel build problem
2. Added a PACKAGECONFIG for readline
(From OE-Core rev: ed46ac71846845ffc41efcd55a36e27883d9980a)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3_3.10.0.bb')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3_3.10.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3_3.10.0.bb b/meta/recipes-support/sqlite/sqlite3_3.10.0.bb new file mode 100644 index 0000000000..092f78266f --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3_3.10.0.bb | |||
@@ -0,0 +1,27 @@ | |||
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/2016/sqlite-autoconf-${SQLITE_PV}.tar.gz \ | ||
14 | file://parallel.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "274364e6ca5c1104d42912f11e61ed26" | ||
18 | SRC_URI[sha256sum] = "43cc292d70711fa7580250c8a1cd7c64813a4a0a479dbd502cce5f10b5d91042" | ||
19 | |||
20 | UPSTREAM_CHECK_URI = "http://www.sqlite.org/" | ||
21 | UPSTREAM_CHECK_REGEX = "releaselog/(?P<pver>(\d+[\.\-_]*)+)\.html" | ||
22 | |||
23 | S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}" | ||
24 | |||
25 | # Provide column meta-data API | ||
26 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
27 | TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||