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