aboutsummaryrefslogtreecommitdiffstats
path: root/main/lsscsi/APKBUILD
blob: 66ed5b49a688e7ab14dcf8db756f6c1ce1c566cd (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.27
pkgrel=0
pkgdesc="Lists information about SCSI devices"
url="http://sg.danny.cz/scsi/lsscsi.html"
arch="all"
license="GPL"
depends=
makedepends=
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="33ab2927a9e567a47905e6a618c17859  lsscsi-0.27.tgz"
sha256sums="6b8254f7b241ff0c3690e168b11a216d105962263fdd5a3da6dfb4cba5a0d9b4  lsscsi-0.27.tgz"
sha512sums="faa4404e7fcf7c00178bd26cf54bbc876e7b2d52e952c7e8dee7454fb506e641dc75b9def8c07363ed5cb75537a9b73de8bc05b1877ce8a734aa9afd80f6b22f  lsscsi-0.27.tgz"