[oe-commits] Otavio Salvador : psplash: use psplash.h if the distribution provides it

GIT User account git at amethyst.openembedded.net
Fri Dec 19 19:53:24 UTC 2008


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

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Fri Dec 12 18:56:56 2008 -0200

psplash: use psplash.h if the distribution provides it

---

 packages/psplash/psplash_svn.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/packages/psplash/psplash_svn.bb b/packages/psplash/psplash_svn.bb
index 7e19ce3..fdd4aea 100644
--- a/packages/psplash/psplash_svn.bb
+++ b/packages/psplash/psplash_svn.bb
@@ -27,6 +27,10 @@ inherit autotools pkgconfig update-rc.d
 do_configure_append() {
 	install -m 0644 ${WORKDIR}/psplash-hand-img.h ${S}/
 	install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/
+
+	if [ -e "${WORKDIR}/psplash.h" ]; then
+		install -m 0644 ${WORKDIR}/psplash.h ${S}/
+	fi
 }
 
 do_install_prepend() {





More information about the Openembedded-commits mailing list