aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/usb-modeswitch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-09-27 15:46:03 +0200
committerKoen Kooi <koen@openembedded.org>2010-09-27 15:46:03 +0200
commit0dc253d91ea1ac1526aefe92f224b0cdbe041aae (patch)
treecb2ad251414000b94810d1d8ab32f6c246f77014 /recipes/usb-modeswitch
parent030f3358ea8152d04f075d9820ff2599b9320eeb (diff)
downloadopenembedded-0dc253d91ea1ac1526aefe92f224b0cdbe041aae.tar.gz
openembedded-0dc253d91ea1ac1526aefe92f224b0cdbe041aae.tar.bz2
openembedded-0dc253d91ea1ac1526aefe92f224b0cdbe041aae.zip
usb-modeswitch: fix recipe and packaging
Diffstat (limited to 'recipes/usb-modeswitch')
-rw-r--r--recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb16
1 files changed, 6 insertions, 10 deletions
diff --git a/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb b/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
index b209fc72af..aeb5d4133f 100644
--- a/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
+++ b/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
@@ -4,22 +4,18 @@ PRIORITY = "required"
LICENSE = "GPLv2"
DEPENDS = "virtual/libusb0"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
SRC_URI[md5sum] = "a04db36bd0fc6fb303df7567f677b714"
SRC_URI[sha256sum] = "c20abfdf9d46fb83e1b82f961a9f6ec8064bed3304155b6e1af7cf596845d0d0"
-FILES_${PN} = "${bindir} ${sysconfdir}"
+FILES_${PN} = "${bindir} ${sysconfdir} ${base_libdir}/udev/usb_modeswitch"
+RPROVIDES_${PN} += "usbmodeswitch"
+RREPLACES_${PN} += "usbmodeswitch"
RRECOMMENDS_${PN} = "usb-modeswitch-data"
-do_compile() {
- oe_runmake
-}
-
do_install() {
- install -d ${D}${bindir}
- install -d ${D}${sysconfdir}
- install -m 0755 ${S}/usb_modeswitch ${D}${bindir}/usb_modeswitch
- install -m 0644 ${S}/usb_modeswitch.conf ${D}${sysconfdir}/usb_modeswitch.conf
+ oe_runmake install DESTDIR=${D}
}
+