Ticket #11841: hdhomerun.patch
File hdhomerun.patch, 2.5 KB (added by ecronin (Eric Cronin), 18 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name hdhomerun 6 version 20070 3206 version 20070423 7 7 categories net multimedia 8 8 platforms darwin 9 9 … … 15 15 master_sites http://download.silicondust.com/hdhomerun 16 16 distname lib${name}_${version} 17 17 extract.suffix .tgz 18 distfiles-append ${name}_firmware_20070 320.bin18 distfiles-append ${name}_firmware_20070423.bin 19 19 extract.only ${distname}${extract.suffix} 20 20 worksrcdir lib${name} 21 21 checksums ${distname}${extract.suffix} \ 22 md5 8251f3993aa2d8eda0411fa5b62e7525\23 sha1 788525062449a66af4e1859c9dc7ae37b8601c22\24 rmd160 7c165cc75617de79c666df004164ac30aa9ef5f2 \25 ${name}_firmware_20070 320.bin \26 md5 aa7b7627d7f0ed23683ad606ecc48ea4\27 sha1 7cb34d501df1bdf72988a0675889920e36417780\28 rmd160 9 830ced0352dfdad695549aa87f0d88f6f3851ac22 md5 06a3f5ddfdad5f19672463202f4c62f2 \ 23 sha1 94a059a1c0b7a5ff1dc662952422fd2d9e680994 \ 24 rmd160 342083addeefd6e43010b276e9e03acac1cd61e2 \ 25 ${name}_firmware_20070423.bin \ 26 md5 0c5168d9e1b1ad5cd6bcf5d74a922d21 \ 27 sha1 13c0f8d1473e68c29ca8cd862e3de49565dd5874 \ 28 rmd160 9d1a963a540f59d16231a12f00761198eea0562e 29 29 30 30 livecheck.check regex 31 31 livecheck.url http://www.silicondust.com/wiki/downloads … … 38 38 xinstall -m 0755 ${worksrcpath}/hdhomerun_config \ 39 39 ${destroot}${prefix}/bin/hdhomerun_config 40 40 xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/ 41 xinstall -m 0644 ${distpath}/${name}_firmware_20070 320.bin \42 ${destroot}${prefix}/share/${name}/${name}_firmware_20070 320.bin41 xinstall -m 0644 ${distpath}/${name}_firmware_20070423.bin \ 42 ${destroot}${prefix}/share/${name}/${name}_firmware_20070423.bin 43 43 } 44 44 45 45 post-activate { 46 ui_msg "to upgrade device firmware run:\n hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_20070 320.bin"46 ui_msg "to upgrade device firmware run:\n hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_20070423.bin" 47 47 } 48 48