mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=sg3_utils
|
|
pkgver=1.36
|
|
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="a3339169d61ac90e3d539f906e67a2b8 sg3_utils-1.36.tgz"
|
|
sha256sums="d19c1dab0cdfdf1c691b144c28b03dcc911f3a4b6f55ae81e23e362cc883ca24 sg3_utils-1.36.tgz"
|
|
sha512sums="2d6a083d1ff2e0ac87d834eee954bb5e98f157f3c9f775f966a03888246246b4906a8213f49bd15b4c60a1354f7224b4c82fb9ebc3d6b903753689b8c3f08b90 sg3_utils-1.36.tgz"
|