aboutsummaryrefslogtreecommitdiffstats
path: root/community/lsscsi/APKBUILD
blob: ee466a11b8989dcfe88554fe24037f2adbcc6f01 (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
36
37
38
39
40
41
42
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=lsscsi
pkgver=0.28
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

#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
}

md5sums="4a39e3b09cd422e2cae3edbaf56b3176  lsscsi-0.28.tgz"
sha256sums="025d009a1af42bc5b2fca664c44c9ecdfd754356e4a44f5c6aced2420afadd50  lsscsi-0.28.tgz"
sha512sums="6d5cf8ebc42af0d8dbe8f2a1e90f4c429d058f184027318686fd22bc117e66c0b1847e4c97964d3d0e1b7bf4a5f1e296e1e3575ed2f5ff999eef70bdfb9ea4d4  lsscsi-0.28.tgz"