Commits

Georges Martin authored and Frank Schima committed 617c6a370ac
flash: New port

Closes: https://trac.macports.org/ticket/49652
No tags

sysutils/flash/Portfile

Added
1 +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2 +
3 +PortSystem 1.0
4 +PortGroup github 1.0
5 +
6 +github.setup hypriot flash 2.3.0
7 +revision 0
8 +
9 +platforms darwin
10 +supported_archs noarch
11 +categories sysutils
12 +license MIT
13 +maintainers @jrjsmrtn openmaintainer
14 +
15 +description Command line script to flash SD card images of any kind
16 +long_description ${description}
17 +
18 +checksums rmd160 d0f45b33da3b557cbf9253a835678310ad9ed27a \
19 + sha256 7a31c2fa6a2169633c5d77b205ead4562b110e1c106b3ac4fa72ee55350e0719 \
20 + size 16744
21 +
22 +depends_run port:unzip \
23 + port:curl \
24 + port:pv
25 +
26 +notes "If you want to flash directly from an AWS S3 bucket,\
27 + install the py37-awscli port."
28 +
29 +use_configure no
30 +build {}
31 +
32 +destroot {
33 + xinstall -m 755 ${worksrcpath}/flash ${destroot}${prefix}/bin
34 +
35 + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
36 + xinstall -m 644 -W ${worksrcpath} AUTHORS LICENSE README.md \
37 + ${destroot}${prefix}/share/doc/${name}
38 + file copy ${worksrcpath}/sample \
39 + ${destroot}${prefix}/share/doc/${name}
40 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut