SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "glib-2.0 openobex bluez-libs"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.caside.lancs.ac.uk/bt/obexpush.tar.gz \
file://add-obextool.patch;patch=1 \
- file://init"
+ file://init \
+ file://opd_args"
S = "${WORKDIR}/obexpush"
inherit update-rc.d
install -m 0755 opd/opd ${D}${sbindir}
install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/default
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/opd
+ install -m 0755 ${WORKDIR}/opd_args ${D}${sysconfdir}/default/opd_args
}