libatasmart: convert to new style staging
authorKoen Kooi <koen@openembedded.org>
Thu, 24 Jun 2010 13:04:03 +0000 (15:04 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 24 Jun 2010 13:04:03 +0000 (15:04 +0200)
recipes/devicekit/libatasmart_0.13.bb

index 31565f6..719675b 100644 (file)
@@ -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
 }