blob: 35e22d3ea2dd91d638cbc0cc5c30120cc7e7e7d6 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -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"
7LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
8 file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed"
9DEPENDS="sg3-utils"
10SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
11 file://make-sysroot-work.patch \
12 "
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013MIRRORS += "http://sg.danny.cz/sg/p https://fossies.org/linux/misc"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015UPSTREAM_CHECK_REGEX = "sdparm-(?P<pver>\d+(\.\d+)+)\.tgz"
16
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017PACKAGES =+ "${PN}-scripts"
18RDEPENDS_${PN}-scripts += "bash ${PN}"
19
20SRC_URI[md5sum] = "bdae64375376ce8fe4bf9521c1db858f"
21SRC_URI[sha256sum] = "1ea1ed1bb1ee2aef62392618fa42da9ed027d5e655f174525c39235778292ab3"
22
23inherit autotools
24
25# Put the bash scripts to ${PN}-scripts
26FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"