void-packages/srcpkgs/ipmiutil/template
2019-08-17 00:23:50 +02:00

36 lines
1.1 KiB
Bash

# Template file for 'ipmiutil'
pkgname=ipmiutil
version=3.1.3
revision=2
archs="i686* x86_64* ppc*"
build_style=gnu-configure
configure_args="--disable-systemd --libdir=/usr/lib"
makedepends="libressl-devel"
short_desc="Series of utilities that perform common IPMI management functions"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="BSD-2-Clause, BSD-3-Clause"
#changelog="http://ipmiutil.sourceforge.net/docs/ChangeLog"
homepage="http://ipmiutil.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b80303b6f05cbe48e728dd925fef201e9604a90cd3fc9c8af113367e8d6dbe57
disable_parallel_build=yes
post_install() {
vlicense COPYING
mv "${DESTDIR}/usr/sbin/"* "${DESTDIR}/usr/bin"
rm "${DESTDIR}/usr/share/ipmiutil/"*.service
}
ipmiutil-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/ipmiutil/Makefile
vmove "usr/share/ipmiutil/*.c"
vmove "usr/share/ipmiutil/*.h"
}
}