void-packages/srcpkgs/sg3_utils/template
2018-09-14 03:44:56 -03:00

33 lines
786 B
Bash

# Template file for 'sg3_utils'
pkgname=sg3_utils
version=1.44
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Generic SCSI utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-2-Clause, GPL-2.0-or-later"
homepage="http://sg.danny.cz/sg/sg3_utils.html"
distfiles="http://sg.danny.cz/sg/p/${pkgname}-${version}.tgz"
checksum=8dae684d22e71b11353a48b16c95597af90f0cbe9bbd57f98d7f5544da5cae7b
post_install() {
vlicense BSD_LICENSE LICENSE
}
libsgutils_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
sg3_utils-devel_package() {
depends="libsgutils>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}