aboutsummaryrefslogtreecommitdiffstats
path: root/main/sg3_utils/APKBUILD
blob: a399463343dbd8e71aab5a243be748d0bd5577a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sg3_utils
pkgver=1.42
pkgrel=1
pkgdesc="Generic SCSI utilities"
url="http://sg.danny.cz/sg/sg3_utils.html"
arch="all"
options="!check"  # No test suite.
license="BSD-3-Clause, GPL-2.0+"
depends=
makedepends="linux-headers"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://sg.danny.cz/sg/p/$pkgname-$pkgver.tgz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

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

sha512sums="d16b65e36b2bccb4fc4c189f97e71fa38e6619f37d668a4ddd74a52c715fa62325288d9737812ed19c80547059dbd27be5a20565e27e1aabb571e8f5f8ac53ad  sg3_utils-1.42.tgz"