2010-04-13 13:43:55 +00:00
|
|
|
# Template file for 'sg3_utils'
|
|
|
|
pkgname=sg3_utils
|
2013-01-20 19:37:11 +00:00
|
|
|
version=1.35
|
2013-04-14 10:31:59 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-01-20 19:37:11 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-14 10:31:59 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2010-04-13 13:43:55 +00:00
|
|
|
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"
|
2013-01-20 19:37:11 +00:00
|
|
|
distfiles="http://sg.danny.cz/sg/p/$pkgname-$version.tgz"
|
|
|
|
checksum=385e73a3acc961efd50a610db9c737f14ccc98ba8488e54355be1f08417e08af
|
2013-04-14 10:31:59 +00:00
|
|
|
|
|
|
|
libsgutils_package() {
|
|
|
|
short_desc="${short_desc} --- shared library"
|
|
|
|
replaces="sg3_utils<1.31"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sg3_utils-devel_package() {
|
|
|
|
depends="libsgutils>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sg3_utils_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|