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
22 RUN_DEPENDS= usb-modeswitch-data:single:standard
23 BR_DEPS[linux]= libusb:single:standard
27 DISTNAME= usb-modeswitch-2.5.2
29 FPC_EQUIVALENT= sysutils/usb_modeswitch
32 ${REINPLACE_CMD} 's|`pkg-config --libs --cflags libusb-1.0`|-lusb|' ${WRKSRC}/Makefile
35 ${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${STAGEDIR}${PREFIX}/sbin
36 ${INSTALL_DATA} ${WRKSRC}/usb_modeswitch.conf ${STAGEDIR}${PREFIX}/etc/usb_modeswitch.conf.sample
37 ${MKDIR} -p ${STAGEDIR}${PREFIX}/man/man1
38 ${INSTALL_MAN} ${WRKSRC}/usb_modeswitch.1 ${STAGEDIR}${PREFIX}/man/man1
40 [FILE:1026:descriptions/desc.single]
41 USB_ModeSwitch is (surprise!) a mode switching tool for controlling
42 'multi-mode' USB devices.
44 More and more USB devices (especially high-speed WAN stuff, based on cell
45 phone chipsets which are able to change their USB connection mode) have
46 their MS Windows drivers onboard; when plugged in for the first time they
47 act like a flash storage and start installing the driver from there. After
48 installation (and on every consecutive plugging) the driver switches the
49 mode internally, the storage device vanishes (in most cases), and a new
50 device (like an USB modem) shows up. Modem maker "Option" calls that
51 feature "ZeroCD (TM)" since it eliminates the need for shipping a separate
54 On *nix platform this does not work for obvious reasons and the required
55 mode switching has to be triggered manually. USB_ModeSwitch makes this
56 process easy to handle by taking the important parameters from a
57 configuration file and doing all the initialization and communication
58 stuff, with heavy help from "libusb".
62 abffac09c87eacd78e101545967dc25af7e989745b4276756d45dbf4008a2ea6 259820 usb-modeswitch-2.5.2.tar.bz2
65 [FILE:85:manifests/plist.single]
66 @sample etc/usb_modeswitch.conf.sample
67 man/man1/usb_modeswitch.1