aboutsummaryrefslogtreecommitdiffstats
path: root/main/sg3_utils/APKBUILD
blob: 41a2254dc470c623c16847aa1a18cf79114dd126 (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
# Contributor: Carlo Landmeter 
# Maintainer: 
pkgname=sg3_utils
pkgver=1.29
pkgrel=0
pkgdesc="Generic SCSI utilities"
url="http://sg.danny.cz/sg/sg3_utils.html"
arch="x86 x86_64"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://sg.danny.cz/sg/p/$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="17b8f2bc1b32bd036515683cc87328ea  sg3_utils-1.29.tgz"