usb-modeswitch-data: add 20100826
authorKoen Kooi <koen@openembedded.org>
Mon, 27 Sep 2010 13:19:14 +0000 (15:19 +0200)
committerKoen Kooi <koen@openembedded.org>
Mon, 27 Sep 2010 13:19:14 +0000 (15:19 +0200)
usb-modeswitch: recommend the above

recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb [new file with mode: 0644]
recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb

diff --git a/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb b/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb
new file mode 100644 (file)
index 0000000..b72717f
--- /dev/null
@@ -0,0 +1,12 @@
+DESCRIPTION = "Data files for usbmodeswitch"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${PV}.tar.bz2"
+SRC_URI[md5sum] = "85c16bb87a6f05c2d04b93a22fe87e91"
+SRC_URI[sha256sum] = "a81821d3d9ad9e1d3a31ea11d0da9841ca84350f0b445a8f9ea2dbd142cefb46"
+
+do_install() {
+       oe_runmake install DESTDIR=${D}
+}
+
+PACKAGE_ARCH = "all"
index b197216..b209fc7 100644 (file)
@@ -4,11 +4,14 @@ PRIORITY = "required"
 LICENSE = "GPLv2"
 DEPENDS = "virtual/libusb0"
 
+PR = "r1"
+
 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}"
+RRECOMMENDS_${PN} = "usb-modeswitch-data"
 
 do_compile() {
        oe_runmake