[oe-commits] Koen Kooi : live555: fix staging

git version control git at git.openembedded.org
Fri Jul 17 13:23:42 UTC 2009


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

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri Jul 17 14:15:34 2009 +0200

live555: fix staging

---

 recipes/live555/live555_20090602.bb |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/recipes/live555/live555_20090602.bb b/recipes/live555/live555_20090602.bb
index 8d1a314..c6438bc 100644
--- a/recipes/live555/live555_20090602.bb
+++ b/recipes/live555/live555_20090602.bb
@@ -7,6 +7,8 @@ HOMEPAGE = "http://live.com/"
 LICENSE = "LGPL"
 SECTION = "devel"
 
+PR = "r1"
+
 SRC_URI = "http://www.live555.com/liveMedia/public/live.2009.06.02.tar.gz \
            file://config.linux-cross"
 
@@ -36,7 +38,17 @@ do_install() {
 }
 
 do_stage () {
-	cp -a ${D}${includedir}/* ${STAGING_INCDIR}
-	cp -a ${D}${libdir}/* ${STAGING_LIBDIR}
+	install -d ${STAGING_INCDIR}/
+	install -d ${STAGING_LIBDIR}/
+
+	# Find all the headers
+	for i in $(find . -name "*.hh") $(find . -name "*.h") ; do
+		install ${i} ${STAGING_INCDIR}/
+	done
+
+	# Find the libs *.a
+	for i in $(find . -name "*.a") ; do
+		install ${i} ${STAGING_LIBDIR}
+	done
 }
 





More information about the Openembedded-commits mailing list