Ticket #11957: 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 4236 version 20070512 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 423.bin18 distfiles-append ${name}_firmware_20070512.bin 19 19 extract.only ${distname}${extract.suffix} 20 20 worksrcdir lib${name} 21 21 checksums ${distname}${extract.suffix} \ 22 md5 06a3f5ddfdad5f19672463202f4c62f2\23 sha1 94a059a1c0b7a5ff1dc662952422fd2d9e680994\24 rmd160 342083addeefd6e43010b276e9e03acac1cd61e2\25 ${name}_firmware_20070 423.bin \26 md5 0c5168d9e1b1ad5cd6bcf5d74a922d21\27 sha1 13c0f8d1473e68c29ca8cd862e3de49565dd5874\28 rmd160 9d1a963a540f59d16231a12f00761198eea0562e22 md5 9b53ec2c0391290ee25307ba345e1c05 \ 23 sha1 f37c58bc49a83e9cb49cde57e28dc31519cef01c \ 24 rmd160 0836472387a3350d136b294f41d781e0b95c89ad \ 25 ${name}_firmware_20070512.bin \ 26 md5 75995fa371021b9babe17c383244f713 \ 27 sha1 58d63f1cff0ab7b930eebc9725c3d637640ac17a \ 28 rmd160 b3b451a3a3dab3e1661b07b858b1f6b9bf05fc4a 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 423.bin \42 ${destroot}${prefix}/share/${name}/${name}_firmware_20070 423.bin41 xinstall -m 0644 ${distpath}/${name}_firmware_20070512.bin \ 42 ${destroot}${prefix}/share/${name}/${name}_firmware_20070512.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_20070423.bin" 46 ui_msg "to upgrade device firmware run:" 47 ui_msg " hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_20070512.bin" 47 48 } 48 49