1 | # $Id: Portfile 447 2007-03-28 19:57:22Z ecronin $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name hdhomerun |
---|
6 | version 20070320 |
---|
7 | categories net multimedia |
---|
8 | platforms darwin |
---|
9 | |
---|
10 | maintainers ecronin@gizmolabs.org |
---|
11 | description HDHomeRun Software and Firmware |
---|
12 | long_description ${description} |
---|
13 | homepage http://www.silicondust.com |
---|
14 | |
---|
15 | master_sites http://download.silicondust.com/hdhomerun |
---|
16 | distname lib${name}_${version} |
---|
17 | extract.suffix .tgz |
---|
18 | distfiles-append ${name}_firmware_20070320.bin |
---|
19 | extract.only ${distname}${extract.suffix} |
---|
20 | worksrcdir lib${name} |
---|
21 | checksums ${distname}${extract.suffix} \ |
---|
22 | md5 8251f3993aa2d8eda0411fa5b62e7525 \ |
---|
23 | sha1 788525062449a66af4e1859c9dc7ae37b8601c22 \ |
---|
24 | rmd160 7c165cc75617de79c666df004164ac30aa9ef5f2 \ |
---|
25 | ${name}_firmware_20070320.bin \ |
---|
26 | md5 aa7b7627d7f0ed23683ad606ecc48ea4 \ |
---|
27 | sha1 7cb34d501df1bdf72988a0675889920e36417780 \ |
---|
28 | rmd160 9830ced0352dfdad695549aa87f0d88f6f3851ac |
---|
29 | |
---|
30 | configure { } |
---|
31 | |
---|
32 | build.target hdhomerun_config |
---|
33 | |
---|
34 | destroot { |
---|
35 | xinstall -m 0755 ${worksrcpath}/hdhomerun_config \ |
---|
36 | ${destroot}${prefix}/bin/hdhomerun_config |
---|
37 | xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/ |
---|
38 | xinstall -m 0644 ${distpath}/${name}_firmware_20070320.bin \ |
---|
39 | ${destroot}${prefix}/share/${name}/${name}_firmware_20070320.bin |
---|
40 | } |
---|
41 | |
---|
42 | post-activate { |
---|
43 | ui_msg "to upgrade device firmware run:\n hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_20070320.bin" |
---|
44 | } |
---|
45 | |
---|