mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 11:11:40 +01:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=sg3_utils
|
|
pkgver=1.42
|
|
pkgrel=0
|
|
pkgdesc="Generic SCSI utilities"
|
|
url="http://sg.danny.cz/sg/sg3_utils.html"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=
|
|
makedepends="linux-headers"
|
|
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
|
|
}
|
|
|
|
md5sums="28080de5bf2222f8b55a29093bec8aea sg3_utils-1.42.tgz"
|
|
sha256sums="1dcb7a0309bd0ba3d4a83acb526973b80106ee26cd9f7398186cd3f0633c9ef3 sg3_utils-1.42.tgz"
|
|
sha512sums="d16b65e36b2bccb4fc4c189f97e71fa38e6619f37d668a4ddd74a52c715fa62325288d9737812ed19c80547059dbd27be5a20565e27e1aabb571e8f5f8ac53ad sg3_utils-1.42.tgz"
|