void-packages/srcpkgs/sg3_utils/template

31 lines
753 B
Text
Raw Normal View History

# Template file for 'sg3_utils'
pkgname=sg3_utils
2014-12-04 07:21:38 +00:00
version=1.40
2014-02-03 11:31:43 +00:00
revision=1
build_style=gnu-configure
2013-01-20 19:37:11 +00:00
configure_args="--disable-static"
hostmakedepends="pkg-config"
short_desc="Generic SCSI utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-08-04 08:08:10 +00:00
homepage="http://sg.danny.cz/sg/sg3_utils.html"
license="BSD, GPL-2"
2014-11-05 11:37:58 +00:00
update_pattern=$pkgname'-\K[\d.]+(?=\.tgz)'
2013-01-20 19:37:11 +00:00
distfiles="http://sg.danny.cz/sg/p/$pkgname-$version.tgz"
2014-12-04 07:21:38 +00:00
checksum=44a9ecfd3af018fa9f3586067a8fa5f4874451c3d773d74436d262a7e530ee83
libsgutils_package() {
short_desc+=" - shared library"
pkg_install() {
2014-02-03 11:31:43 +00:00
vmove "usr/lib/*.so.*"
}
}
sg3_utils-devel_package() {
depends="libsgutils>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
2014-02-03 11:31:43 +00:00
vmove "usr/lib/*.so"
}
}