summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/sqlite/sqlite3.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3.inc')
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc22
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index 07614bdb3e..9a0de08553 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -1,4 +1,5 @@
1SUMMARY = "Embeddable SQL database engine" 1SUMMARY = "Embeddable SQL database engine"
2DESCRIPTION = "A library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers and comes bundled inside countless other applications that people use every day"
2HOMEPAGE = "http://www.sqlite.org" 3HOMEPAGE = "http://www.sqlite.org"
3SECTION = "libs" 4SECTION = "libs"
4 5
@@ -22,15 +23,14 @@ CVE_PRODUCT = "sqlite"
22inherit autotools pkgconfig siteinfo 23inherit autotools pkgconfig siteinfo
23 24
24# enable those which are enabled by default in configure 25# enable those which are enabled by default in configure
25PACKAGECONFIG ?= "fts4 fts5 json1 rtree dyn_ext" 26PACKAGECONFIG ?= "fts4 fts5 rtree dyn_ext"
26PACKAGECONFIG_class-native ?= "fts4 fts5 json1 rtree dyn_ext" 27PACKAGECONFIG:class-native ?= "fts4 fts5 rtree dyn_ext"
27 28
28PACKAGECONFIG[editline] = "--enable-editline,--disable-editline,libedit" 29PACKAGECONFIG[editline] = "--enable-editline,--disable-editline,libedit"
29PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses" 30PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline ncurses"
30PACKAGECONFIG[fts3] = "--enable-fts3,--disable-fts3" 31PACKAGECONFIG[fts3] = "--enable-fts3,--disable-fts3"
31PACKAGECONFIG[fts4] = "--enable-fts4,--disable-fts4" 32PACKAGECONFIG[fts4] = "--enable-fts4,--disable-fts4"
32PACKAGECONFIG[fts5] = "--enable-fts5,--disable-fts5" 33PACKAGECONFIG[fts5] = "--enable-fts5,--disable-fts5"
33PACKAGECONFIG[json1] = "--enable-json1,--disable-json1"
34PACKAGECONFIG[rtree] = "--enable-rtree,--disable-rtree" 34PACKAGECONFIG[rtree] = "--enable-rtree,--disable-rtree"
35PACKAGECONFIG[session] = "--enable-session,--disable-session" 35PACKAGECONFIG[session] = "--enable-session,--disable-session"
36PACKAGECONFIG[dyn_ext] = "--enable-dynamic-extensions,--disable-dynamic-extensions" 36PACKAGECONFIG[dyn_ext] = "--enable-dynamic-extensions,--disable-dynamic-extensions"
@@ -45,23 +45,23 @@ EXTRA_OECONF = " \
45" 45"
46 46
47# pread() is in POSIX.1-2001 so any reasonable system must surely support it 47# pread() is in POSIX.1-2001 so any reasonable system must surely support it
48CFLAGS_append = " -DUSE_PREAD" 48CFLAGS:append = " -DUSE_PREAD"
49 49
50# Provide column meta-data API 50# Provide column meta-data API
51CFLAGS_append = " -DSQLITE_ENABLE_COLUMN_METADATA" 51CFLAGS:append = " -DSQLITE_ENABLE_COLUMN_METADATA"
52 52
53# Unless SQLITE_BYTEORDER is predefined, the code falls back to build time 53# Unless SQLITE_BYTEORDER is predefined, the code falls back to build time
54# huristics, which are not always correct 54# huristics, which are not always correct
55CFLAGS_append = " ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}" 55CFLAGS:append = " ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEORDER=1234', '-DSQLITE_BYTEORDER=4321', d)}"
56 56
57PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" 57PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
58 58
59FILES_${PN} = "${bindir}/*" 59FILES:${PN} = "${bindir}/*"
60FILES_lib${BPN} = "${libdir}/*.so.*" 60FILES:lib${BPN} = "${libdir}/*.so.*"
61FILES_lib${BPN}-dev = "${libdir}/*.la ${libdir}/*.so \ 61FILES:lib${BPN}-dev = "${libdir}/*.la ${libdir}/*.so \
62 ${libdir}/pkgconfig ${includedir}" 62 ${libdir}/pkgconfig ${includedir}"
63FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}" 63FILES:lib${BPN}-doc = "${docdir} ${mandir} ${infodir}"
64FILES_lib${BPN}-staticdev = "${libdir}/lib*.a" 64FILES:lib${BPN}-staticdev = "${libdir}/lib*.a"
65 65
66AUTO_LIBNAME_PKGS = "${MLPREFIX}lib${BPN}" 66AUTO_LIBNAME_PKGS = "${MLPREFIX}lib${BPN}"
67 67