[oe-commits] Koen Kooi : libatasmart: convert to new style staging

git version control git at git.openembedded.org
Thu Jun 24 13:15:08 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d602d85d3afa7e5d0834a13f5ef5c211f3574872
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d602d85d3afa7e5d0834a13f5ef5c211f3574872

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Jun 24 15:04:03 2010 +0200

libatasmart: convert to new style staging

---

 recipes/devicekit/libatasmart_0.13.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/devicekit/libatasmart_0.13.bb b/recipes/devicekit/libatasmart_0.13.bb
index 31565f6..719675b 100644
--- a/recipes/devicekit/libatasmart_0.13.bb
+++ b/recipes/devicekit/libatasmart_0.13.bb
@@ -4,9 +4,9 @@ SRCREV = "a80d7d5c25e88adea7b8e843cdb57143e6cfb46b"
 SRC_URI = "git://git.0pointer.de/libatasmart.git;protocol=git"
 
 S = "${WORKDIR}/git"
+PR = "r1"
 
-inherit autotools_stage lib_package
-AUTOTOOLS_STAGE_PKGCONFIG = "1"
+inherit autotools lib_package
 
 do_compile_prepend() {
 	rm strpool -f
@@ -14,7 +14,7 @@ do_compile_prepend() {
 	chmod +x strpool
 }
 
-do_stage_append() {
-	sed -i -e s://:/:g -e s:${base_libdir}/libudev.la:-ludev:g ${STAGING_LIBDIR}/libatasmart.la
+do_install_append() {
+	sed -i -e s://:/:g -e s:${base_libdir}/libudev.la:-ludev:g ${D}${libdir}/libatasmart.la
 }
 





More information about the Openembedded-commits mailing list