void-packages/srcpkgs/sg3_utils/template

29 lines
707 B
Bash

# Template file for 'sg3_utils'
pkgname=sg3_utils
version=1.42
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Generic SCSI utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://sg.danny.cz/sg/sg3_utils.html"
license="BSD, GPL-2"
distfiles="http://sg.danny.cz/sg/p/$pkgname-$version.tgz"
checksum=1dcb7a0309bd0ba3d4a83acb526973b80106ee26cd9f7398186cd3f0633c9ef3
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
}
}