Ravenports generated: 15 Apr 2018 16:10
[ravenports.git] / bucket_ED / usb-modeswitch
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               usb-modeswitch
4 VERSION=                2.5.2
5 KEYWORDS=               sysutils
6 VARIANTS=               standard
7 SDESC[standard]=        USB mode switching tool
8 HOMEPAGE=               http://www.draisberghof.de/usb_modeswitch
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://www.draisberghof.de/usb_modeswitch/
13 DISTFILE[1]=            usb-modeswitch-2.5.2.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 ONLY_FOR_OPSYS=         freebsd dragonfly
21
22 RUN_DEPENDS=            usb-modeswitch-data:single:standard
23 BR_DEPS[linux]=         libusb:single:standard
24
25 USES=                   gmake
26
27 DISTNAME=               usb-modeswitch-2.5.2
28
29 FPC_EQUIVALENT=         sysutils/usb_modeswitch
30
31 post-patch:
32         ${REINPLACE_CMD} 's|`pkg-config --libs --cflags libusb-1.0`|-lusb|' ${WRKSRC}/Makefile
33
34 do-install:
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
39
40 [FILE:1026:descriptions/desc.single]
41 USB_ModeSwitch is (surprise!) a mode switching tool for controlling 
42 'multi-mode' USB devices.
43
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 
52 driver carrier.
53
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".
59
60
61 [FILE:107:distinfo]
62 abffac09c87eacd78e101545967dc25af7e989745b4276756d45dbf4008a2ea6       259820 usb-modeswitch-2.5.2.tar.bz2
63
64
65 [FILE:85:manifests/plist.single]
66 @sample etc/usb_modeswitch.conf.sample
67 man/man1/usb_modeswitch.1
68 sbin/usb_modeswitch
69