summaryrefslogblamecommitdiff
path: root/user/ipmiutil/APKBUILD
blob: 914a4349119fb1490f944923684d3f6409c60448 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
            





                                                    
          



                                                                                  

                                       
 
           



                         
         
                     

                                 












                                           


                                      
                                                                                                                                                                   
                                                                                                                                                                  
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ipmiutil
pkgver=3.1.6
pkgrel=0
pkgdesc="IPMI Management Utilities"
url="http://ipmiutil.sourceforge.net/"
arch="all"
options="!check"  # No test suite shipped.
license="BSD-2-Clause AND BSD-3-Clause AND GPL-2.0+"
depends=""
depends_dev="openssl-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://downloads.sourceforge.net/project/ipmiutil/ipmiutil-$pkgver.tar.gz
	ipmiutil-3.0.7-fix-sha256.patch
	"

prepare() {
	default_prepare
	update_config_sub
}

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

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

sha512sums="9bccfa2e0bba7f30e422d67f93ee6cff50c08cc8bceab5ba5bfd1b0a91e1af8a4a98a2eaa81364e8a1f38e0bd1ce6b99717d86957c6f689aa7329e7013f5b0ef  ipmiutil-3.1.6.tar.gz
74e8951bccd004f765b99de87dc5f04834e594b3e14ba885148fb971eaf15164ccac2de880e409f201a38cba5c0948a0fabc04e1e34fb396f50b1ecddb6b305b  ipmiutil-3.0.7-fix-sha256.patch"