mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-12 04:02:19 +01:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Contributor: Steve McMaster <code@mcmaster.io>
|
|
# Maintainer: Steve McMaster <code@mcmaster.io>
|
|
pkgname=ledmon
|
|
pkgver=0.97
|
|
pkgrel=0
|
|
pkgdesc="Enclosure LED Utilities"
|
|
url="https://github.com/intel/ledmon"
|
|
arch="all"
|
|
# Provided tests expect to run on a host with supported hardware
|
|
options="!check"
|
|
license="GPL-2.0-only"
|
|
makedepends="automake autoconf eudev-dev linux-headers pciutils-dev sg3_utils-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/intel/ledmon/archive/v$pkgver.tar.gz
|
|
10-musl-build.patch
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -vif
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
7a8f6c6f7cbaa10ae17ee60c2dfbce4100524b9b85fdc01a139f1fd2a33779348845df29b93f6c2cbabed4fa92a2a17a80636c2658e13507743bd2242fc08914 ledmon-0.97.tar.gz
|
|
0ad5de757b34fb9f7264091cfdeb3ebd6cb66c1dbe31ebf423573027b065376b075f824eaaf20d79295605e5f671cca0ab17a0da4afeb131dd91a38a6841f098 10-musl-build.patch
|
|
"
|