Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "fetch and change SCSI mode pages" |
| 2 | DESCRIPTION = "The sdparm utility accesses and optionally modifies \ |
| 3 | SCSI devices' mode page and inquiry data." |
| 4 | HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html" |
| 5 | SECTION = "console/utils" |
| 6 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \ |
| 8 | file://lib/BSD_LICENSE;md5=12cde17a04c30dece2752f36b7192c64" |
| 9 | DEPENDS="sg3-utils" |
| 10 | SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \ |
| 11 | file://make-sysroot-work.patch \ |
| 12 | " |
| 13 | MIRRORS += "http://sg.danny.cz/sg/p https://fossies.org/linux/misc" |
| 14 | |
| 15 | UPSTREAM_CHECK_REGEX = "sdparm-(?P<pver>\d+(\.\d+)+)\.tgz" |
| 16 | |
| 17 | PACKAGES =+ "${PN}-scripts" |
| 18 | RDEPENDS_${PN}-scripts += "bash ${PN}" |
| 19 | |
| 20 | SRC_URI[md5sum] = "cd998d1c12a4ec11652d0af580f06b4d" |
| 21 | SRC_URI[sha256sum] = "432fdbfe90f0c51640291faf7602489b0ae56dfb96d0c02ed02308792adc7fb0" |
| 22 | |
| 23 | inherit autotools |
| 24 | |
| 25 | # Put the bash scripts to ${PN}-scripts |
| 26 | FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp" |