summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/sqlite/sqlite3-native.inc11
-rw-r--r--meta/packages/sqlite/sqlite3-native_3.6.7.bb1
-rw-r--r--meta/packages/sqlite/sqlite3.inc18
-rw-r--r--meta/packages/sqlite/sqlite3_3.6.16.bb2
4 files changed, 4 insertions, 28 deletions
diff --git a/meta/packages/sqlite/sqlite3-native.inc b/meta/packages/sqlite/sqlite3-native.inc
deleted file mode 100644
index 37a394982..000000000
--- a/meta/packages/sqlite/sqlite3-native.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-inherit native
-
-require sqlite3.inc
-
-DEPENDS = "readline-native ncurses-native"
-
-do_install() {
- :
-}
-
-PACKAGES = ""
diff --git a/meta/packages/sqlite/sqlite3-native_3.6.7.bb b/meta/packages/sqlite/sqlite3-native_3.6.7.bb
deleted file mode 100644
index 08208c4c7..000000000
--- a/meta/packages/sqlite/sqlite3-native_3.6.7.bb
+++ /dev/null
@@ -1 +0,0 @@
-require sqlite3-native.inc
diff --git a/meta/packages/sqlite/sqlite3.inc b/meta/packages/sqlite/sqlite3.inc
index d688e75e2..951c25eff 100644
--- a/meta/packages/sqlite/sqlite3.inc
+++ b/meta/packages/sqlite/sqlite3.inc
@@ -9,7 +9,7 @@ SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
S = "${WORKDIR}/sqlite-${PV}"
-inherit autotools pkgconfig pkgconfig_stage
+inherit autotools_stage pkgconfig pkgconfig_stage
EXTRA_OECONF = "--disable-tcl --enable-shared \
--enable-threadsafe"
@@ -21,20 +21,6 @@ export config_TARGET_LINK = "${CCLD}"
export config_TARGET_CFLAGS = "${CFLAGS}"
export config_TARGET_LFLAGS = "${LDFLAGS}"
-do_compile_prepend() {
- oe_runmake sqlite3.h
- install -m 0644 sqlite3.h ${STAGING_INCDIR}
-}
-
-do_stage() {
- oe_libinstall -so libsqlite3 ${STAGING_LIBDIR}
- install -m 0644 sqlite3.h ${STAGING_INCDIR}
-}
-
-#do_install() {
-# oe_runmake install DESTDIR=${D} prefix=${prefix} exec_prefix=${exec_prefix}
-#}
-
PACKAGES = "libsqlite libsqlite-dev libsqlite-doc sqlite3 sqlite3-dbg"
FILES_sqlite3 = "${bindir}/*"
FILES_libsqlite = "${libdir}/*.so.*"
@@ -42,3 +28,5 @@ FILES_libsqlite-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \
${libdir}/pkgconfig ${includedir}"
FILES_libsqlite-doc = "${docdir} ${mandir} ${infodir}"
AUTO_LIBNAME_PKGS = "libsqlite"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/packages/sqlite/sqlite3_3.6.16.bb b/meta/packages/sqlite/sqlite3_3.6.16.bb
index 5075dd35b..399b6e2a5 100644
--- a/meta/packages/sqlite/sqlite3_3.6.16.bb
+++ b/meta/packages/sqlite/sqlite3_3.6.16.bb
@@ -1,3 +1,3 @@
require sqlite3.inc
-PR = "r1"
+PR = "r2"