Ravenports generated: 06 Apr 2019 21:23
[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 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
34 LICENSE_SCHEME=         solo
35
36 FPC_EQUIVALENT=         sysutils/usb_modeswitch
37
38 post-patch:
39         ${REINPLACE_CMD} 's|`pkg-config --libs --cflags libusb-1.0`|-lusb|' ${WRKSRC}/Makefile
40
41 do-install:
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
46
47 [FILE:1026:descriptions/desc.single]
48 USB_ModeSwitch is (surprise!) a mode switching tool for controlling 
49 'multi-mode' USB devices.
50
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 
59 driver carrier.
60
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".
66
67
68 [FILE:107:distinfo]
69 abffac09c87eacd78e101545967dc25af7e989745b4276756d45dbf4008a2ea6       259820 usb-modeswitch-2.5.2.tar.bz2
70
71
72 [FILE:85:manifests/plist.single]
73 @sample etc/usb_modeswitch.conf.sample
74 man/man1/usb_modeswitch.1
75 sbin/usb_modeswitch
76