aboutsummaryrefslogtreecommitdiffstats
path: root/community/lsscsi/APKBUILD
blob: 7c9cfee6fc482b7adadc8d1c5b2bb9f597d64f62 (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
35
36
37
38
39
40
# 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"
depends=
makedepends="linux-headers"
install=
subpackages="$pkgname-doc"
source="http://sg.danny.cz/scsi/$pkgname-$pkgver.tgz"

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

#prepare() {
#	cd "$_builddir"
#	apply patches here
#}

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

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

sha512sums="ea1ba2bd2892b7e7feff0bf08ea09ffcdc38d21e4dba2cdce598d8ffde926a5908f2d02116d692bf4747b76c76c1c35974569583cb2da75eb49553959368dc76  lsscsi-0.30.tgz"