summaryrefslogblamecommitdiff
path: root/user/sg3_utils/APKBUILD
blob: 4d5f64c4ff0910a92d648e23c709de202b4495e3 (plain) (tree)
1
2
3
4

                                                  
           









                                                         









                                         


                  

                                      
                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=sg3_utils
pkgver=1.45
pkgrel=0
pkgdesc="Utilities to manipulate SCSI devices"
url="http://sg.danny.cz/sg/sg3_utils.html"
arch="all"
license="BSD-2-Clause AND GPL-2.0-only"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://sg.danny.cz/sg/p/sg3_utils-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="fa25dedc447154d33937248a856af9a7ef380dda282a681d465a57d7dfc24b6c0409fa06aabf8cc28ba191e91db80fed0757b45212eddf713855574b48a97868  sg3_utils-1.45.tar.xz"