2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Embeddable SQL database engine"
|
2010-07-20 08:26:40 +00:00
|
|
|
HOMEPAGE = "http://www.sqlite.org"
|
2007-01-03 20:55:29 +00:00
|
|
|
SECTION = "libs"
|
2011-06-03 10:40:55 +00:00
|
|
|
DEPENDS = "readline ncurses"
|
recipes-support: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
NOTE:
There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native
should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"),
otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is
incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't
need this line, since it is already in the default BUILD_LDFLAGS. Remove
it and we don't need to bump the PR since we just removed a unused line.
[YOCTO #3297]
(From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-27 08:48:17 +00:00
|
|
|
DEPENDS_class-native = ""
|
2007-01-03 20:55:29 +00:00
|
|
|
LICENSE = "PD"
|
|
|
|
|
2010-07-21 07:03:52 +00:00
|
|
|
inherit autotools pkgconfig
|
2007-01-03 20:55:29 +00:00
|
|
|
|
2013-11-29 14:36:09 +00:00
|
|
|
EXTRA_OECONF = "--enable-shared --enable-threadsafe"
|
2013-12-20 18:23:48 +00:00
|
|
|
EXTRA_OECONF_class-native = "--enable-shared --enable-threadsafe --disable-readline"
|
2007-01-03 20:55:29 +00:00
|
|
|
export config_BUILD_CC = "${BUILD_CC}"
|
|
|
|
export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"
|
|
|
|
export config_BUILD_LIBS = "${BUILD_LDFLAGS}"
|
|
|
|
export config_TARGET_CC = "${CC}"
|
|
|
|
export config_TARGET_LINK = "${CCLD}"
|
|
|
|
export config_TARGET_CFLAGS = "${CFLAGS}"
|
|
|
|
export config_TARGET_LFLAGS = "${LDFLAGS}"
|
|
|
|
|
2012-09-22 16:50:21 +00:00
|
|
|
# pread() is in POSIX.1-2001 so any reasonable system must surely support it
|
|
|
|
BUILD_CFLAGS += "-DUSE_PREAD"
|
|
|
|
TARGET_CFLAGS += "-DUSE_PREAD"
|
|
|
|
|
2011-12-22 17:43:33 +00:00
|
|
|
PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
|
2012-01-20 07:11:46 +00:00
|
|
|
|
2010-08-27 08:32:58 +00:00
|
|
|
FILES_${PN} = "${bindir}/*"
|
2011-12-22 17:43:33 +00:00
|
|
|
FILES_lib${BPN} = "${libdir}/*.so.*"
|
|
|
|
FILES_lib${BPN}-dev = "${libdir}/*.la ${libdir}/*.so \
|
2011-08-09 14:04:27 +00:00
|
|
|
${libdir}/pkgconfig ${includedir}"
|
2011-12-22 17:43:33 +00:00
|
|
|
FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}"
|
|
|
|
FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
|
2013-02-01 14:26:48 +00:00
|
|
|
AUTO_LIBNAME_PKGS = "${MLPREFIX}lib${BPN}"
|
2009-11-05 18:24:50 +00:00
|
|
|
|
2010-08-13 04:02:58 +00:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|