Ticket #12244: hdhomerun.patch
File hdhomerun.patch, 2.5 KB (added by ecronin (Eric Cronin), 17 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name hdhomerun 6 version 20070 5126 version 20070620 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_ 20070512.bin18 distfiles-append ${name}_firmware_${version}.bin 19 19 extract.only ${distname}${extract.suffix} 20 20 worksrcdir lib${name} 21 21 checksums ${distname}${extract.suffix} \ 22 md5 9b53ec2c0391290ee25307ba345e1c05\23 sha1 f37c58bc49a83e9cb49cde57e28dc31519cef01c\24 rmd160 0836472387a3350d136b294f41d781e0b95c89ad\25 ${name}_firmware_ 20070512.bin \26 md5 75995fa371021b9babe17c383244f713\27 sha1 58d63f1cff0ab7b930eebc9725c3d637640ac17a\28 rmd160 b3b451a3a3dab3e1661b07b858b1f6b9bf05fc4a22 md5 484b8954c378afead26adf9cf30115f0 \ 23 sha1 1448ebc28e89dc55862847e9e922def60fa7d02d \ 24 rmd160 18ffab672438fcc9e5c515ce0e7a15d852bc0d19 \ 25 ${name}_firmware_${version}.bin \ 26 md5 1700c1d1f08d6982c87ee3a1cf674667 \ 27 sha1 a32d1c4ce906719b4b13be800d7427d0a4b60065 \ 28 rmd160 a5c6647c6504824bc98b1541b716aeeab4e1bca6 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_ 20070512.bin \42 ${destroot}${prefix}/share/${name}/${name}_firmware_ 20070512.bin41 xinstall -m 0644 ${distpath}/${name}_firmware_${version}.bin \ 42 ${destroot}${prefix}/share/${name}/${name}_firmware_${version}.bin 43 43 } 44 44 45 45 post-activate { 46 46 ui_msg "to upgrade device firmware run:" 47 ui_msg " hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_ 20070512.bin"47 ui_msg " hdhomerun_config <id> upgrade ${prefix}/share/${name}/${name}_firmware_${version}.bin" 48 48 } 49 49