aboutsummaryrefslogtreecommitdiffstats
path: root/community/ipmiutil/APKBUILD
blob: 82edc7ebb6d740a38b2804bd72095790dc8ae866 (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
45
# Maintainer: A. Wilcox <AWilcox@Wilcox-Tech.com>
pkgname=ipmiutil
pkgver=3.0.9
pkgrel=0
pkgdesc="IPMI Management Utilities"
url="http://ipmiutil.sourceforge.net/"
arch="all"
options="!check"  # No test suite shipped.
license="BSD-2-clause BSD-3-clause GPL-2.0"
depends=""
depends_dev="libressl-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/ipmiutil/ipmiutil-$pkgver.tar.gz
	ipmiutil-3.0.7-fix-sha256.patch
	"

prepare() {
	default_prepare
	update_config_guess
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libdir=/usr/lib \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-systemd \
		--enable-sha256 \
		--enable-gpl
	make -j1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="c2c0a516216a46a52621159e665a77d96cf81f385fc9cf19877e72283be3e1a4dad5a4826454727b71576c22cc4de3c73ff428d26f35bf496c7dc1511305cda3  ipmiutil-3.0.9.tar.gz
74e8951bccd004f765b99de87dc5f04834e594b3e14ba885148fb971eaf15164ccac2de880e409f201a38cba5c0948a0fabc04e1e34fb396f50b1ecddb6b305b  ipmiutil-3.0.7-fix-sha256.patch"