void-packages/srcpkgs/sdparm/template

32 lines
1.2 KiB
Text

# Template file for 'sdparm'
pkgname=sdparm
version=1.07
revision=1
build_style=gnu-configure
makedepends="sg3_utils-devel"
short_desc="Utility to access SCSI device parameters"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://sg.danny.cz/sg/sdparm.html"
license="BSD"
distfiles="http://sg.danny.cz/sg/p/${pkgname}-${version}.tgz"
checksum=c1d257ba97f37f99a602e889a73e4c62f9b374c5b979e33fc06963462f0c0e41
long_desc="
The sdparm utility accesses SCSI device parameters. When the SCSI device is a
disk, sdparm's role is similar to its namesake: the Linux hdparm utility which
is primarily designed for ATA disks that had device names starting with "hd".
More generally sdparm can be used to access parameters on any device that uses
a SCSI command set. Apart from SCSI disks, such devices include CD/DVD drives
(irrespective of transport), SCSI and ATAPI tape drives and SCSI enclosures.
A small set of commands associated with starting and stopping the media,
loading and unloading removable media and some other housekeeping functions
can also be sent with this utility."
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
sdparm_package() {
pkg_install() {
vmove usr
}
}