[Lunar-commits] <moonbase> usb-modeswitch-reference: Adding to moonbase.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Jan 11 13:44:18 CET 2012


commit daf9af5bc62328a76d8c9c4d88c2cffc48942e79
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Jan 11 07:44:18 2012 -0500

    usb-modeswitch-reference: Adding to moonbase.
---
 utils/usb-modeswitch-reference/BUILD     |    6 ++++++
 utils/usb-modeswitch-reference/DEPENDS   |    1 +
 utils/usb-modeswitch-reference/DETAILS   |   18 ++++++++++++++++++
 utils/usb-modeswitch-reference/PRE_BUILD |    4 ++++
 4 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/utils/usb-modeswitch-reference/BUILD b/utils/usb-modeswitch-reference/BUILD
new file mode 100644
index 0000000..0e8e23c
--- /dev/null
+++ b/utils/usb-modeswitch-reference/BUILD
@@ -0,0 +1,6 @@
+(
+
+  prepare_install &&
+  install device_reference.txt /usr/share/usb_modeswitch
+
+) > $C_FIFO 2>&1
diff --git a/utils/usb-modeswitch-reference/DEPENDS b/utils/usb-modeswitch-reference/DEPENDS
new file mode 100644
index 0000000..f1c47c5
--- /dev/null
+++ b/utils/usb-modeswitch-reference/DEPENDS
@@ -0,0 +1 @@
+depends usb-modeswitch-data
diff --git a/utils/usb-modeswitch-reference/DETAILS b/utils/usb-modeswitch-reference/DETAILS
new file mode 100644
index 0000000..c8ef89b
--- /dev/null
+++ b/utils/usb-modeswitch-reference/DETAILS
@@ -0,0 +1,18 @@
+          MODULE=usb-modeswitch-reference
+         VERSION=2011-10-23
+          SOURCE=device_reference.txt
+      SOURCE_URL=http://www.draisberghof.de/usb_modeswitch/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY$MODULE-$VERSION
+      SOURCE_VFY=sha1:0ad8ae16c663e25c798ad1672ae3420de6ef8c26
+        WEB_SITE=http://www.draisberghof.de/usb_modeswitch/
+         ENTERED=20120111
+         UPDATED=20120111
+           SHORT="usb-modeswitch reference text"
+
+cat << EOF
+This is a collection of all device setups with their respective contributors; 
+you can use it as a first resource if you want to make a new device working. 
+
+Don't use this file directly; for your own experiments, create a
+config file, copy data from here, and use it with the -c parameter!
+EOF
diff --git a/utils/usb-modeswitch-reference/PRE_BUILD b/utils/usb-modeswitch-reference/PRE_BUILD
new file mode 100644
index 0000000..213d9bc
--- /dev/null
+++ b/utils/usb-modeswitch-reference/PRE_BUILD
@@ -0,0 +1,4 @@
+validate_source_dir  $SOURCE_DIRECTORY  &&
+mk_source_dir        $SOURCE_DIRECTORY  &&
+cd                   $SOURCE_DIRECTORY  &&
+cp /var/spool/lunar/$SOURCE .


More information about the Lunar-commits mailing list