1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= usb-modeswitch
7 SDESC[standard]= USB mode switching tool
8 HOMEPAGE= http://www.draisberghof.de/usb_modeswitch
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= http://www.draisberghof.de/usb_modeswitch/
13 DISTFILE[1]= usb-modeswitch-2.5.2.tar.bz2:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 ONLY_FOR_OPSYS= freebsd dragonfly
22 RUN_DEPENDS= usb-modeswitch-data:single:standard
23 BR_DEPS[linux]= libusb:single:standard
27 DISTNAME= usb-modeswitch-2.5.2
29 LICENSE= GPLv2+:single
30 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
31 LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING
32 LICENSE_AWK= TERMS:"include <stdlib.h>"
33 LICENSE_SOURCE= TERMS:{{WRKSRC}}/usb_modeswitch.h
36 FPC_EQUIVALENT= sysutils/usb_modeswitch
39 ${REINPLACE_CMD} 's|`pkg-config --libs --cflags libusb-1.0`|-lusb|' ${WRKSRC}/Makefile
42 ${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${STAGEDIR}${PREFIX}/sbin
43 ${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${STAGEDIR}${PREFIX}/etc/usb_modeswitch.conf.sample
44 ${MKDIR} -p ${STAGEDIR}${PREFIX}/man/man1
45 ${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${STAGEDIR}${PREFIX}/man/man1
47 [FILE:1026:descriptions/desc.single]
48 USB_ModeSwitch is (surprise!) a mode switching tool for controlling
49 'multi-mode' USB devices.
51 More and more USB devices (especially high-speed WAN stuff, based on cell
52 phone chipsets which are able to change their USB connection mode) have
53 their MS Windows drivers onboard; when plugged in for the first time they
54 act like a flash storage and start installing the driver from there. After
55 installation (and on every consecutive plugging) the driver switches the
56 mode internally, the storage device vanishes (in most cases), and a new
57 device (like an USB modem) shows up. Modem maker "Option" calls that
58 feature "ZeroCD (TM)" since it eliminates the need for shipping a separate
61 On *nix platform this does not work for obvious reasons and the required
62 mode switching has to be triggered manually. USB_ModeSwitch makes this
63 process easy to handle by taking the important parameters from a
64 configuration file and doing all the initialization and communication
65 stuff, with heavy help from "libusb".
69 abffac09c87eacd78e101545967dc25af7e989745b4276756d45dbf4008a2ea6 259820 usb-modeswitch-2.5.2.tar.bz2
72 [FILE:85:manifests/plist.single]
73 @sample etc/usb_modeswitch.conf.sample
74 man/man1/usb_modeswitch.1