xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/sdparm/sdparm_1.12.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "fetch and change SCSI mode pages"
2*4882a593SmuzhiyunDESCRIPTION = "The sdparm utility accesses and optionally modifies \
3*4882a593SmuzhiyunSCSI devices' mode page and inquiry data."
4*4882a593SmuzhiyunHOMEPAGE = "http://sg.danny.cz/sg/sdparm.html"
5*4882a593SmuzhiyunSECTION = "console/utils"
6*4882a593SmuzhiyunLICENSE = "BSD-3-Clause"
7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
8*4882a593Smuzhiyun                    file://lib/BSD_LICENSE;md5=12cde17a04c30dece2752f36b7192c64"
9*4882a593SmuzhiyunDEPENDS="sg3-utils"
10*4882a593SmuzhiyunSRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
11*4882a593Smuzhiyun           file://make-sysroot-work.patch \
12*4882a593Smuzhiyun           "
13*4882a593SmuzhiyunMIRRORS += "http://sg.danny.cz/sg/p https://fossies.org/linux/misc"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunUPSTREAM_CHECK_REGEX = "sdparm-(?P<pver>\d+(\.\d+)+)\.tgz"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunPACKAGES =+ "${PN}-scripts"
18*4882a593SmuzhiyunRDEPENDS:${PN}-scripts += "bash ${PN}"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunSRC_URI[md5sum] = "2902fd29e6834fd62c16bb5d1ac53c7e"
21*4882a593SmuzhiyunSRC_URI[sha256sum] = "e7f84247069da9a0c293963948d8aba8e5897a13e35e5476c8258acb7ca3a124"
22*4882a593Smuzhiyun
23*4882a593Smuzhiyuninherit autotools
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun# Put the bash scripts to ${PN}-scripts
26*4882a593SmuzhiyunFILES:${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp"
27