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