summaryrefslogtreecommitdiff
path: root/recipes/freesmartphone/zhone2_git.bb
blob: 11402b4649dc8e195e2ff4f388229d19e16474fe (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
DESCRIPTION = "A demo phone application based on FSO 2.0"
AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
HOMEPAGE = "http://www.freesmartphone.org"
SECTION = "x11"
LICENSE = "GPLv2"
DEPENDS = "edje-native vala-native evas ecore edje libeflvala libfsobasics libfsoframework libfso-glib"
SRCREV = "1e3dca8a407f4e69636c47d9f22b31f8ae718d5a"
PV = "2.0.0+gitr${SRCPV}"
PR = "r2"
PE = "1"

SRC_URI = "\
  ${FREESMARTPHONE_GIT}/aurora.git;protocol=git;branch=master \
  http://www.linuxtogo.org/~mickeyl/misc/splash;name=splash \
  file://zhone2 \
"
SRC_URI[splash.md5sum] = "e198d5c83cc47a216562e435df0e03c3"
SRC_URI[splash.sha256sum] = "3e41bcf4ea50ab7406d3833e412a78ddb9afaab4b0a8cca1bf93755d1ce9a215"
S = "${WORKDIR}/git/zhone2"

inherit autotools_stage update-rc.d

INITSCRIPT_NAME = "zhone2"
INITSCRIPT_PARAMS = "defaults 40"

do_install_append() {
	install -d ${D}${datadir}/zhone2/
	install -d ${D}${sysconfdir}/init.d/
	install -m 0644 ${WORKDIR}/splash ${D}${datadir}/zhone2/
	install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/
}