blob: 6d091292a015244815f91f2d2a5c79c346e903a8 (
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
43
44
|
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sg3_utils
pkgver=1.39
pkgrel=0
pkgdesc="Generic SCSI utilities"
url="http://sg.danny.cz/sg/sg3_utils.html"
arch="all"
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 \
--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 || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="cab917b6406ef0337b499a4fce8a38f8 sg3_utils-1.39.tgz"
sha256sums="0fb6eae3de7f8e71398bf1315712eceae5b6776b5b9ef882bcfd759063ea8709 sg3_utils-1.39.tgz"
sha512sums="78a50437b28180f888c69b160fd5d91e117a3b9120ad2f363ed5ba9569fb44dce77ddba6e1f78898a57624f5747a06bd910f852fca9789f312ee99fc936b9228 sg3_utils-1.39.tgz"
|