psplash: use psplash.h if the distribution provides it
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 12 Dec 2008 20:56:56 +0000 (18:56 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 19 Dec 2008 19:44:38 +0000 (17:44 -0200)
packages/psplash/psplash_svn.bb

index 7e19ce3..fdd4aea 100644 (file)
@@ -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() {