help2man: fix drag in of target perl for the native package
[openembedded.git] / recipes / psplash / psplash.inc
blob2d999d150d5f55c77aaab55e465c8c28bc8e3e08
1 DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
2 HOMEPAGE = "http://projects.o-hand.com/psplash"
3 SECTION = "base"
4 LICENSE = "GPLv2+"
5 PROVIDES = "virtual/psplash"
6 RPROVIDES_${PN} = "virtual-psplash"
7 RCONFLICTS_${PN} = "exquisite"
9 SRCREV = "422"
10 PV = "0.0+svnr${SRCPV}"
11 PR = "r34"
13 # You can create your own pslash-poky-img.h by doing
14 # ./make-image-header.sh <file>.png POKY
15 # and rename the resulting .h to pslash-poky-img.h (for the logo)
16 # respectively psplash-bar-img.h (BAR) for the bar.
17 # You might also want to patch the colors (see patch)
19 inherit autotools pkgconfig update-rc.d
21 do_configure_append() {
22         install -m 0644 ${WORKDIR}/psplash-poky-img.h ${S}/
23         install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/
25         if [ -e "${WORKDIR}/psplash.h" ]; then
26                 install -m 0644 ${WORKDIR}/psplash.h ${S}/
27         fi
30 do_install_prepend() {
31         install -d ${D}/mnt/.splash/
32         install -d ${D}${sysconfdir}/default/
33         install -m 0644 ${WORKDIR}/psplash-default ${D}${sysconfdir}/default/psplash
34         install -d ${D}${sysconfdir}/init.d/
35         install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash
36         install -d ${D}${bindir}
37         ln -s psplash-write ${D}${bindir}/splash-write
38         install -d ${D}${sysconfdir}/default
39         install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs
42 INITSCRIPT_NAME = "psplash"
43 INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ."
45 PACKAGES =+ "psplash-support"
47 RDEPENDS_${PN} += "psplash-support"
48 FILES_psplash-support += "/mnt/.splash ${sysconfdir} ${bindir}/psplash-write ${bindir}/splash-write"