diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
| commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
| tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb | |
| download | poky-daisy-140929.tar.gz | |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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.bb | 21 |
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 @@ | |||
| 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 | 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" | ||
| 12 | |||
| 13 | SRC_URI[md5sum] = "509ff98d8dc9729b618b7e96612079c6" | ||
| 14 | SRC_URI[sha256sum] = "de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}" | ||
| 17 | |||
| 18 | # Provide column meta-data API | ||
| 19 | BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
| 20 | TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA" | ||
| 21 | |||
