Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Hard disk temperature monitor daemon" |
| 2 | SECTION = "console/network" |
| 3 | LICENSE = "GPLv2+" |
| 4 | |
| 5 | PR = "r1" |
| 6 | |
| 7 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/hddtemp/hddtemp-0.3-beta15.tar.bz2 \ |
| 8 | file://hddtemp-no-nls-support.patch \ |
| 9 | file://hddtemp_0.3-beta15-52.diff \ |
| 10 | file://hddtemp-0.3-beta15-autodetect-717479.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | file://0001-backtrace-Replace-struct-ucontext-with-ucontext_t.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | file://hddtemp.db \ |
| 13 | file://init \ |
| 14 | " |
| 15 | |
| 16 | SRC_URI[md5sum] = "8b829339e1ae9df701684ec239021bb8" |
| 17 | SRC_URI[sha256sum] = "618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b" |
| 18 | |
| 19 | LIC_FILES_CHKSUM = "file://GPL-2;md5=eb723b61539feef013de476e68b5c50a" |
| 20 | |
| 21 | inherit autotools gettext update-rc.d |
| 22 | |
| 23 | FILES_${PN} += "/usr/share/misc/hddtemp.db" |
| 24 | |
| 25 | do_install_append() { |
| 26 | install -d ${D}/usr/share/misc/ |
| 27 | install -m 0644 ${WORKDIR}/hddtemp.db ${D}/usr/share/misc/hddtemp.db |
| 28 | install -d ${D}${sysconfdir}/init.d |
| 29 | install -m 0644 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hddtemp |
| 30 | } |
| 31 | |
| 32 | INITSCRIPT_NAME = "hddtemp" |
| 33 | INITSCRIPT_PARAMS = "start 99 2 3 4 5 . stop 20 0 1 6 ." |