diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 18:24:50 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:26 +0000 |
commit | 5308a1d9f538cc9e2303f49af62336facab7b613 (patch) | |
tree | 15ac889f0b83cd877d2ef3aa20fd24328a5a0255 /meta/packages/sqlite | |
parent | 03ed0dbcaeb2ded214c36bf3e4504106e7b9d6fa (diff) | |
download | poky-5308a1d9f538cc9e2303f49af62336facab7b613.tar.gz |
sqlite3: Cleanups - use BBCLASSEXTEND, drop strange compile bugfix (now unneeded?), convert to autotools_stage class
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/sqlite')
-rw-r--r-- | meta/packages/sqlite/sqlite3-native.inc | 11 | ||||
-rw-r--r-- | meta/packages/sqlite/sqlite3-native_3.6.7.bb | 1 | ||||
-rw-r--r-- | meta/packages/sqlite/sqlite3.inc | 18 | ||||
-rw-r--r-- | meta/packages/sqlite/sqlite3_3.6.16.bb | 2 |
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 37a394982d..0000000000 --- a/meta/packages/sqlite/sqlite3-native.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | inherit native | ||
2 | |||
3 | require sqlite3.inc | ||
4 | |||
5 | DEPENDS = "readline-native ncurses-native" | ||
6 | |||
7 | do_install() { | ||
8 | : | ||
9 | } | ||
10 | |||
11 | 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 08208c4c74..0000000000 --- a/meta/packages/sqlite/sqlite3-native_3.6.7.bb +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | require sqlite3-native.inc | ||
diff --git a/meta/packages/sqlite/sqlite3.inc b/meta/packages/sqlite/sqlite3.inc index d688e75e28..951c25eff8 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 \ | |||
9 | 9 | ||
10 | S = "${WORKDIR}/sqlite-${PV}" | 10 | S = "${WORKDIR}/sqlite-${PV}" |
11 | 11 | ||
12 | inherit autotools pkgconfig pkgconfig_stage | 12 | inherit autotools_stage pkgconfig pkgconfig_stage |
13 | 13 | ||
14 | EXTRA_OECONF = "--disable-tcl --enable-shared \ | 14 | EXTRA_OECONF = "--disable-tcl --enable-shared \ |
15 | --enable-threadsafe" | 15 | --enable-threadsafe" |
@@ -21,20 +21,6 @@ export config_TARGET_LINK = "${CCLD}" | |||
21 | export config_TARGET_CFLAGS = "${CFLAGS}" | 21 | export config_TARGET_CFLAGS = "${CFLAGS}" |
22 | export config_TARGET_LFLAGS = "${LDFLAGS}" | 22 | export config_TARGET_LFLAGS = "${LDFLAGS}" |
23 | 23 | ||
24 | do_compile_prepend() { | ||
25 | oe_runmake sqlite3.h | ||
26 | install -m 0644 sqlite3.h ${STAGING_INCDIR} | ||
27 | } | ||
28 | |||
29 | do_stage() { | ||
30 | oe_libinstall -so libsqlite3 ${STAGING_LIBDIR} | ||
31 | install -m 0644 sqlite3.h ${STAGING_INCDIR} | ||
32 | } | ||
33 | |||
34 | #do_install() { | ||
35 | # oe_runmake install DESTDIR=${D} prefix=${prefix} exec_prefix=${exec_prefix} | ||
36 | #} | ||
37 | |||
38 | PACKAGES = "libsqlite libsqlite-dev libsqlite-doc sqlite3 sqlite3-dbg" | 24 | PACKAGES = "libsqlite libsqlite-dev libsqlite-doc sqlite3 sqlite3-dbg" |
39 | FILES_sqlite3 = "${bindir}/*" | 25 | FILES_sqlite3 = "${bindir}/*" |
40 | FILES_libsqlite = "${libdir}/*.so.*" | 26 | FILES_libsqlite = "${libdir}/*.so.*" |
@@ -42,3 +28,5 @@ FILES_libsqlite-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \ | |||
42 | ${libdir}/pkgconfig ${includedir}" | 28 | ${libdir}/pkgconfig ${includedir}" |
43 | FILES_libsqlite-doc = "${docdir} ${mandir} ${infodir}" | 29 | FILES_libsqlite-doc = "${docdir} ${mandir} ${infodir}" |
44 | AUTO_LIBNAME_PKGS = "libsqlite" | 30 | AUTO_LIBNAME_PKGS = "libsqlite" |
31 | |||
32 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/packages/sqlite/sqlite3_3.6.16.bb b/meta/packages/sqlite/sqlite3_3.6.16.bb index 5075dd35b7..399b6e2a5a 100644 --- a/meta/packages/sqlite/sqlite3_3.6.16.bb +++ b/meta/packages/sqlite/sqlite3_3.6.16.bb | |||
@@ -1,3 +1,3 @@ | |||
1 | require sqlite3.inc | 1 | require sqlite3.inc |
2 | 2 | ||
3 | PR = "r1" | 3 | PR = "r2" |