summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-09-27 15:19:14 +0200
committerKoen Kooi <koen@openembedded.org>2010-09-27 15:19:14 +0200
commit030f3358ea8152d04f075d9820ff2599b9320eeb (patch)
tree7cfb5803e33e80186d3c9295bf9b50228a437685
parent1279c80d4f2fa0d29cc9ff1d26a037e46b3b7e07 (diff)
usb-modeswitch-data: add 20100826
usb-modeswitch: recommend the above
-rw-r--r--recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb12
-rw-r--r--recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb3
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb b/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb
new file mode 100644
index 0000000000..b72717f7a0
--- /dev/null
+++ b/recipes/usb-modeswitch/usb-modeswitch-data_20100826.bb
@@ -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"
diff --git a/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb b/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
index b19721691e..b209fc72af 100644
--- a/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
+++ b/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
@@ -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