29 lines
707 B
Bash
29 lines
707 B
Bash
# Template file for 'sg3_utils'
|
|
pkgname=sg3_utils
|
|
version=1.41
|
|
revision=1
|
|
build_style=gnu-configure
|
|
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=c4e2893c36df1ee5b07840ab7c22129544f5dc8a55f7cc8815c9cd8e44ec31c0
|
|
|
|
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
|
|
}
|
|
}
|