sqlite3.inc : Update include file to use autotools_stage class.
authorPhilip Balister <philip@balister.org>
Sun, 19 Jul 2009 20:19:59 +0000 (16:19 -0400)
committerPhilip Balister <philip@balister.org>
Sun, 19 Jul 2009 20:19:59 +0000 (16:19 -0400)
recipes/sqlite/sqlite3.inc

index 93a536e..ae20ff5 100644 (file)
@@ -9,7 +9,7 @@ SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
 
 S = "${WORKDIR}/sqlite-${PV}"
 
-inherit autotools pkgconfig
+inherit autotools_stage pkgconfig
 
 EXTRA_OECONF = "--disable-tcl --enable-shared \
                --enable-threadsafe"
@@ -26,15 +26,6 @@ do_compile_prepend() {
        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.*"