1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | set author hypriot |
---|
8 | name flash |
---|
9 | version 0.2.0 |
---|
10 | categories sysutils |
---|
11 | platforms darwin |
---|
12 | license MIT |
---|
13 | maintainers jrjsmrtn openmaintainer |
---|
14 | |
---|
15 | description Command line script to flash SD card images for the \ |
---|
16 | Raspberry Pi |
---|
17 | long_description ${description} |
---|
18 | homepage https://github.com/hypriot/flash |
---|
19 | |
---|
20 | github.setup ${author} ${name} ${version} |
---|
21 | |
---|
22 | checksums rmd160 47c39d2fdfa297a5bfc0e74e2498e528a0205583 \ |
---|
23 | sha256 54cfaea82e0df1b9d223cafeef7abbc64af04139383df11b31c6ffc0f46d8192 |
---|
24 | |
---|
25 | use_configure no |
---|
26 | build {} |
---|
27 | |
---|
28 | destroot { |
---|
29 | xinstall -m 0755 ${worksrcpath}/Darwin/flash ${destroot}${prefix}/bin |
---|
30 | } |
---|
31 | |
---|
32 | default_variants +pv +curl |
---|
33 | |
---|
34 | variant pv description {Enable progress bar while flashing} { |
---|
35 | depends_lib-append port:pv |
---|
36 | } |
---|
37 | |
---|
38 | variant curl description {Enable flashing directly with an HTTP URL} { |
---|
39 | depends_lib-append port:curl |
---|
40 | } |
---|
41 | |
---|
42 | variant aws description {Enable flashing directly from AWS S3 bucket} { |
---|
43 | depends_lib-append port:py-awscli |
---|
44 | } |
---|