diff options
author | 2011-02-26 18:26:15 +0100 | |
---|---|---|
committer | 2011-02-27 13:58:22 +0100 | |
commit | 2f7832b2465efe5bc9bf3bd7d31a52773ba05b5f (patch) | |
tree | 126601b3cd849251a19789d5799f3d3f91fd3d9c /recipes/shr/libphone-ui_git.bb | |
parent | 3eda2bfe44698b3abb64e5f81ecfad5bad1bc990 (diff) | |
download | openembedded-2f7832b2465efe5bc9bf3bd7d31a52773ba05b5f.tar.gz |
libphone-ui: refactor recipe to make it possible to use machine specific configs
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'recipes/shr/libphone-ui_git.bb')
-rw-r--r-- | recipes/shr/libphone-ui_git.bb | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/recipes/shr/libphone-ui_git.bb b/recipes/shr/libphone-ui_git.bb index c002ea1716..b6500201e7 100644 --- a/recipes/shr/libphone-ui_git.bb +++ b/recipes/shr/libphone-ui_git.bb @@ -4,14 +4,31 @@ LICENSE = "GPL" SECTION = "libs" SRCREV = "4ad47c4db9ad766ad2b38ffc3bd181a85575fd75" PV = "0.0.1+gitr${SRCPV}" -PR = "r0" +PR = "r1" DEPENDS="glib-2.0 libshr-glib libfso-glib libfsoframework libphone-utils alsa-lib" -inherit pkgconfig autotools autotools +SRC_URI = " \ + git://git.shr-project.org/repo/libphone-ui.git;protocol=http;branch=master \ + file://libphoneui.conf \ +" -SRC_URI = "git://git.shr-project.org/repo/libphone-ui.git;protocol=http;branch=master" +S = "${WORKDIR}/git" -S="${WORKDIR}/git" +inherit autotools pkgconfig -CONFFILES_${PN} = "${sysconfdir}/libphoneui.conf" +do_install_append() { + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/libphoneui.conf ${D}${sysconfdir}/libphoneui.conf +} + +PACKAGES =+ "${PN}-config" +PACKAGE_ARCH_${PN}-config = "${MACHINE_ARCH}" + +FILES_${PN}-config = " \ + ${sysconfdir}/libphoneui.conf \ +" + +CONFFILES_${PN}-config = "\ + ${sysconfdir}/libphoneui.conf \ +" |