FreeBSD trimmed version / port of the gobi_oader, originally from http://www.codon.org.uk/~mjg59/gobi_loader which likely never worked on FreeBSD. This will load the firmware of the GOBI u3g parts on insertion. Reviewed by: imp (tweaked sample file from original) Reviewed by: daniel.engberg.lists@pyret.net Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D22938
26 lines
642 B
Makefile
26 lines
642 B
Makefile
PORTNAME= gobi_loader
|
|
DISTVERSION= g20191227
|
|
CATEGORIES= sysutils net
|
|
|
|
MAINTAINER= zarychtam@plan-b.pwste.edu.pl
|
|
COMMENT= Firmware Loader for Qualcomm Gobi USB Chipsets
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mzary
|
|
GH_TAGNAME= fbecd85
|
|
|
|
SUB_LIST+= PREFIX=${PREFIX}
|
|
SUB_FILES= gobi.conf.sample pkg-message
|
|
|
|
PLIST_FILES= ${PREFIX}/sbin/gobi_loader \
|
|
"@sample ${PREFIX}/etc/devd/gobi.conf.sample"
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/../gobi.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc/devd/gobi.conf.sample
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/sbin
|
|
|
|
.include <bsd.port.mk>
|