blob: 1ad926569c41110f8d188bd88288ebf4b60d408b (
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
35
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sg3_utils
pkgver=1.45
pkgrel=0
pkgdesc="Generic SCSI utilities"
url="http://sg.danny.cz/sg/sg3_utils.html"
arch="all"
options="!check" # No test suite.
license="BSD-2-Clause AND GPL-2.0-or-later"
makedepends="linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="http://sg.danny.cz/sg/p/sg3_utils-$pkgver.tgz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="e7a8d0bcee707fe8a3bbdb7b5579e48a9176b5968f3ebfb5b5c39c4b7d70b65c7e48f3b57580833b658354922d1d1aed28b177e669610f555d2aebc4b88d51d0 sg3_utils-1.45.tgz"
|