summaryrefslogtreecommitdiff
path: root/recipes/fbprogress/fbprogress_1.1.bb
blob: 8d603b8a3e1cbc8b148dc045b455b4e87cb1ad2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DESCRIPTION = "Bug framebuffer progress indicator"
AUTHOR = "Angel Roman"
HOMEPAGE = "http://www.buglabs.net/"
LICENSE = "GPL"
DEPENDS = "freetype zlib virtual/kernel"
SRCREV = "9118"
PR = "r1"

SRC_URI = "svn://svn.buglabs.net/bug/trunk;module=com.buglabs.bug.native.fbprogress;proto=svn \
           file://fbprogress-init"

S = "${WORKDIR}/com.buglabs.bug.native.fbprogress"

inherit update-rc.d

EXTRA_OEMAKE = "BUG_LINUX_SRC=${STAGING_KERNEL_DIR}"

do_install() {
  install -d ${D}/${sysconfdir}/fbprogress
  install -m 0644 ${S}/images/* ${D}/${sysconfdir}/fbprogress/
  install -d ${D}${layout_bindir}
  install -m 0755 fbprogress ${D}${layout_bindir}
  install -m 0755 fbprogress.sh ${D}${layout_bindir}
  install -d ${D}/${sysconfdir}/init.d
  install -m 0755 ${WORKDIR}/fbprogress-init ${D}/${sysconfdir}/init.d/fbprogress
}

PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "bug"

INITSCRIPT_NAME = "fbprogress"
INITSCRIPT_PARAMS = "start 01 S . stop 15  0 1 2 3 4 5 6 ."