34 lines
787 B
Bash
34 lines
787 B
Bash
# Template file for 'sg3_utils'
|
|
pkgname=sg3_utils
|
|
version=1.45
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
short_desc="Generic SCSI utilities"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=0b87c971af52af7cebebcce343eac6bd3d73febb3c72af9ce41a4552f1605a61
|
|
|
|
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"
|
|
}
|
|
}
|