30 lines
712 B
Bash
30 lines
712 B
Bash
# Template file for 'sg3_utils'
|
|
pkgname=sg3_utils
|
|
version=1.40
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
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=44a9ecfd3af018fa9f3586067a8fa5f4874451c3d773d74436d262a7e530ee83
|
|
|
|
libsgutils_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
sg3_utils-devel_package() {
|
|
depends="libsgutils>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|