aboutsummaryrefslogtreecommitdiffstats
path: root/community/lsscsi/APKBUILD
blob: 72005f29c8122037ed3a57f50b6b8b03bc9c3cf1 (plain) (blame)
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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=lsscsi
pkgver=0.30
pkgrel=0
pkgdesc="Lists information about SCSI devices"
url="http://sg.danny.cz/scsi/lsscsi.html"
arch="all"
license="GPL-2.0-or-later"
depends=
makedepends="linux-headers"
install=
subpackages="$pkgname-doc"
source="http://sg.danny.cz/scsi/$pkgname-$pkgver.tar.xz"

builddir="$srcdir"/$pkgname-${pkgver/./}r154

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="255bf961e6f8db40553748dbfcabac9410517bd1c83d23f95a94ce7f14f00c9cec00d37424f0f2a120c800fa410b362902f9988042b264e14089ff957cd7077d  lsscsi-0.30.tar.xz"