mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 02:36:34 +02:00
33 lines
802 B
Text
33 lines
802 B
Text
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=sdparm
|
|
pkgver=1.12
|
|
pkgrel=1
|
|
pkgdesc="SCSI device parameter modification tool"
|
|
url="http://sg.danny.cz/sg/sdparm.html"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
makedepends="linux-headers"
|
|
subpackages="$pkgname-doc"
|
|
source="http://sg.danny.cz/sg/p/sdparm-$pkgver.tgz"
|
|
|
|
# update config sub to support loongarch64
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
update_config_guess
|
|
}
|
|
|
|
build() {
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="00e2775c290c6db3a02780dd3eefa58ac40e1df79a7f19f80a9d497c019a9a4a9a16fb2726f48e7083d0104a8e74326e683c3f5f44c7d1f591a0f607e10493b1 sdparm-1.12.tgz"
|