[oe-commits] Koen Kooi : faac: fix packaging and convert to new style staging

git version control git at git.openembedded.org
Sat Mar 27 15:12:51 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 0e58efa364736f695f89ba2ab646f49438e807e3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0e58efa364736f695f89ba2ab646f49438e807e3

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Mar 27 11:29:48 2010 +0100

faac: fix packaging and convert to new style staging

---

 recipes/faac/faac_1.24.bb |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/recipes/faac/faac_1.24.bb b/recipes/faac/faac_1.24.bb
index f6ba784..3bcfa0b 100644
--- a/recipes/faac/faac_1.24.bb
+++ b/recipes/faac/faac_1.24.bb
@@ -1,22 +1,19 @@
-
 DESCRIPTION = "Library for reading some sort of media format."
 SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = ""
 LICENSE = "LGPL"
+
+PR = "r1"
+
 inherit autotools
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}"
+S = "${WORKDIR}/${PN}"
 
-PACKAGES = "${PN}-dbg ${PN} lib${PN} lib${PN}-dev"
+PACKAGES =+ "lib${PN} lib${PN}-dev"
 
 FILES_${PN} = " ${bindir}/faac "
-FILES_lib${PN} = " ${libdir}/libfaac.so.0 ${libdir}/libfaac.so.0.0.0 "
+FILES_lib${PN} = " ${libdir}/libfaac.so.*"
 FILES_lib${PN}-dev = " ${includedir}/faac.h ${includedir}/faaccfg.h ${libdir}/libfaac.so ${libdir}/libfaac.la ${libdir}/libfaac.a "
 
-do_stage() {
-	oe_libinstall -a -so -C libfaac libfaac ${STAGING_LIBDIR}
-	install -m 0644 ${S}/include/faac.h ${STAGING_INCDIR}/
-	install -m 0644 ${S}/include/faaccfg.h ${STAGING_INCDIR}/
-}





More information about the Openembedded-commits mailing list