summaryrefslogtreecommitdiff
path: root/recipes/maemo/osso-af-startup_0.28-1.bb
blob: dbf80abb6ee14dd2beea7e6e3054f2f0f4341ea4 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
LICENSE =	"unknown"
PR 	= "r4"

PACKAGES=	"${PN} osso-af-services osso-af-base-apps"
DEPENDS =	""
RDEPENDS_osso-af-services = "${PN}"
RDEPENDS_osso-af-base-apps = "${PN}"

SRC_URI = "http://stage.maemo.org:80/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz \
           file://osso-af-startup-source.patch;striplevel=0 \
           file://launch-no-o.patch;striplevel=0"

S = "${WORKDIR}/${PN}-0.28"

FILES_${PN} = "${sysconfdir}/osso-af-init ${sysconfdir}/init.d/af-startup"
FILES_osso-af-services = "${sysconfdir}/init.d/af-services"
FILES_osso-af-base-apps = "${sysconfdir}/init.d/af-base-apps"

INITSCRIPT_PACKAGES = "${PACKAGES}"
INITSCRIPT_NAME_${PN} = "af-startup"
INITSCRIPT_PARAMS_${PN} = "defaults 50"
INITSCRIPT_NAME_osso-af-services = "af-services"
INITSCRIPT_PARAMS_osso-af-services = "defaults 22"
INITSCRIPT_NAME_osso-af-base-apps = "af-base-apps"
INITSCRIPT_PARAMS_osso-af-base-apps = "defaults 51"

inherit autotools update-rc.d

do_install () {
	install -d ${D}${sysconfdir}/osso-af-init
	install -m 755 ${S}/services/af-defines.sh ${D}/${sysconfdir}/osso-af-init/af-defines.sh
	install -m 755 ${S}/services/dbus-sessionbus.sh ${D}/${sysconfdir}/osso-af-init/dbus-sessionbus.sh
	install -m 755 ${S}/services/launch-wrapper.sh ${D}/${sysconfdir}/osso-af-init/launch-wrapper.sh
	install -m 755 ${S}/services/locale ${D}/${sysconfdir}/osso-af-init/locale
	install -m 755 ${S}/services/nice-launch-wrapper-tryrestart.sh ${D}/${sysconfdir}/osso-af-init/nice-launch-wrapper-tryrestart.sh
	install -m 755 ${S}/services/nice-launch-wrapper.sh ${D}/${sysconfdir}/osso-af-init/nice-launch-wrapper.sh
	install -m 755 ${S}/services/real-af-base-apps ${D}/${sysconfdir}/osso-af-init/real-af-base-apps
	install -m 755 ${S}/services/real-af-services ${D}/${sysconfdir}/osso-af-init/real-af-services
	install -m 755 ${S}/services/real-af-startup ${D}/${sysconfdir}/osso-af-init/real-af-startup

	install -d ${D}${sysconfdir}/init.d
	install -m 755 ${S}/top-scripts/af-base-apps ${D}/${sysconfdir}/init.d/af-base-apps
	install -m 755 ${S}/top-scripts/af-services ${D}/${sysconfdir}/init.d/af-services
	install -m 755 ${S}/top-scripts/af-startup ${D}/${sysconfdir}/init.d/af-startup
}

SRC_URI[md5sum] = "dc36e212d738944ded9d05bc16171523"
SRC_URI[sha256sum] = "b14cfdcedea92cef74c58cead4981c349f8e2cc7bbc24ace5e953dd3b6e83668"