blob: 07765e826ce0294b0ea4dde7f823818a44de6a61 (
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
|
DESCRIPTION = "A generic framework for phone ui"
HOMEPAGE = "http://shr-project.org/"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
SECTION = "libs"
SRCREV = "c17c9af4f681536d40451138ac256713acf0a18c"
PV = "0.0.1+gitr${SRCPV}"
PR = "r3"
DEPENDS="glib-2.0 libshr-glib libfso-glib libfsoframework libphone-utils alsa-lib"
SRC_URI = " \
git://git.shr-project.org/repo/libphone-ui.git;protocol=http;branch=master \
"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
do_install_append() {
libphone_ui_install_machine_specific_configs
}
libphone_ui_install_machine_specific_configs() {
# Check for machine specific conf.
CONF_PATH="${S}/conf"
CONF_PATH_MACHINE="${CONF_PATH}"
if [ -d "${CONF_PATH}/${MACHINE}" ] ; then
CONF_PATH_MACHINE="${CONF_PATH}/${MACHINE}"
fi
install -d ${D}${sysconfdir}
install -m 0644 ${CONF_PATH_MACHINE}/libphoneui.conf ${D}${sysconfdir}/libphoneui.conf
}
PACKAGES =+ "${PN}-config"
PACKAGE_ARCH_${PN}-config = "${MACHINE_ARCH}"
RDEPENDS_${PN} = "${PN}-config"
FILES_${PN}-config = " \
${sysconfdir}/libphoneui.conf \
"
CONFFILES_${PN}-config = "\
${sysconfdir}/libphoneui.conf \
"
|