summaryrefslogtreecommitdiffstats
path: root/main/lsscsi/APKBUILD
blob: 2c16233d6d4e7634634e2bccdcc76905d6837109 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=lsscsi
pkgver=0.24b1
pkgrel=1
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 --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

md5sums="897114e504c7b606edb9dd7114b68020  lsscsi-0.24b1.tgz"