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.inc33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
new file mode 100644
index 0000000000..709e3016b8
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -0,0 +1,33 @@
1DESCRIPTION = "An Embeddable SQL Database Engine"
2HOMEPAGE = "http://www.sqlite.org"
3SECTION = "libs"
4PRIORITY = "optional"
5DEPENDS = "readline ncurses tcl-native"
6LICENSE = "PD"
7
8SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
9 file://libtool.patch"
10
11S = "${WORKDIR}/sqlite-${PV}"
12
13inherit autotools pkgconfig
14
15EXTRA_OECONF = "--disable-tcl --enable-shared \
16 --enable-threadsafe"
17export config_BUILD_CC = "${BUILD_CC}"
18export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"
19export config_BUILD_LIBS = "${BUILD_LDFLAGS}"
20export config_TARGET_CC = "${CC}"
21export config_TARGET_LINK = "${CCLD}"
22export config_TARGET_CFLAGS = "${CFLAGS}"
23export config_TARGET_LFLAGS = "${LDFLAGS}"
24
25PACKAGES = "lib${PN} lib${PN}-dev lib${PN}-doc ${PN} ${PN}-dbg"
26FILES_${PN} = "${bindir}/*"
27FILES_lib${PN} = "${libdir}/*.so.*"
28FILES_lib${PN}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \
29 ${libdir}/pkgconfig ${includedir}"
30FILES_lib${PN}-doc = "${docdir} ${mandir} ${infodir}"
31AUTO_LIBNAME_PKGS = "lib${PN}"
32
33BBCLASSEXTEND = "native nativesdk"