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