summaryrefslogtreecommitdiff
path: root/recipes/irda-utils/irda-utils_0.9.16.bb
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-06-13 13:22:23 +0100
committerPhil Blundell <philb@gnu.org>2009-06-13 13:22:23 +0100
commit17f3b570cff78118d493acf16af99cb6b99f4393 (patch)
treef07e20c97356335b411e50a11c87ed447f5c9e8e /recipes/irda-utils/irda-utils_0.9.16.bb
parentf725a81c0494aa40a5d6e5f1bd3ee43209da287b (diff)
irda-utils: respect $(sbindir)
Diffstat (limited to 'recipes/irda-utils/irda-utils_0.9.16.bb')
-rw-r--r--recipes/irda-utils/irda-utils_0.9.16.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/irda-utils/irda-utils_0.9.16.bb b/recipes/irda-utils/irda-utils_0.9.16.bb
index 1d9d184a9b..d5c36f650e 100644
--- a/recipes/irda-utils/irda-utils_0.9.16.bb
+++ b/recipes/irda-utils/irda-utils_0.9.16.bb
@@ -9,6 +9,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
file://configure.patch;patch=1 \
file://m4.patch;patch=1 \
file://ldflags.patch;patch=1 \
+ file://sbindir.patch;patch=1 \
file://init"
export SYS_INCLUDES="-I${STAGING_INCDIR}"
@@ -25,8 +26,8 @@ do_compile () {
do_install () {
install -d ${D}${sbindir}
- oe_runmake -C irattach ROOT="${D}" install
- oe_runmake -C irdaping ROOT="${D}" install
+ oe_runmake -C irattach ROOT="${D}" sbindir="${sbindir}" install
+ oe_runmake -C irdaping ROOT="${D}" sbindir="${sbindir}" install
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}