summaryrefslogtreecommitdiff
path: root/recipes/fbprogress/fbprogress_1.1.bb
blob: 855d1ca3d41aba913a79a937da1818e9ebc6f859 (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
33
34
35
DESCRIPTION = "Bug framebuffer progress indicator"
AUTHOR = "Angel Roman"
HOMEPAGE = "http://www.buglabs.net/"
LICENSE = "GPL"
DEPENDS = "freetype zlib virtual/kernel"
SRCREV = "9405"
PR = "r2"

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

TARGET_CXXFLAGS += "-I${STAGING_INCDIR}/freetype2 -I${STAGING_KERNEL_DIR}/include"
TARGET_LDFLAGS  += "-L${STAGING_LIBDIR} -lfreetype -lz"

do_install() {
  install -d ${D}/${datadir}/fbprogress
  install -m 0644 ${S}/images/* ${D}/${datadir}/fbprogress/

  install -d ${D}${bindir}
  install -m 0755 fbprogress ${D}${bindir}
  install -m 0755 fbprogress.sh ${D}${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 ."